Difference between revisions of "Template:STDialogue"
>Discoomastar (Fixing formatting, removing unnecessary and non-responsive parts) |
|||
| Line 3: | Line 3: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
| − | <includeonly> | + | <includeonly>{{#css: |
| + | p.stdialogue-intro { | ||
| + | text-align: center; | ||
| + | border: rgba(0,0,0,.3) 5px solid; | ||
| + | border-left: none; | ||
| + | border-right: none; | ||
| + | background: rgba(240,240,240,.9); | ||
| + | padding: .5em;" | ||
| + | } | ||
| + | |||
| + | span.stdialogue-intro-text { | ||
| + | font-weight: bold; | ||
| + | font-size: smaller | ||
| + | } | ||
| + | |||
| + | span.stdialogue-intro-char { | ||
| + | color: #fff; | ||
| + | text-shadow: | ||
| + | -1px -1px 1px #000000, | ||
| + | 1px -1px 1px #000000, | ||
| + | -1px 1px 1px #000000, | ||
| + | 1px 1px 1px #000000; | ||
| + | } | ||
| + | |||
| + | p.stdialogue-end { | ||
| + | text-align: center; | ||
| + | background: #000; | ||
| + | color: #fff; | ||
| + | padding: .5em; | ||
| + | } | ||
| + | |||
| + | }} | ||
{{#switch: {{{1}}} | {{#switch: {{{1}}} | ||
| − | | Intro = <p | + | | Intro = <p class="stdialogue-intro"><span class="stdialogue-intro-text">{{{3}}}</span><br> |
| − | <span | + | <span class="stdialogue-intro-char">{{{2}}}</span></p> |
| − | + | | End = <p class="stdialogue-end">'''The End'''</p> | |
| − | |||
| − | | End = <p | ||
| − | |||
}} | }} | ||
</includeonly> | </includeonly> | ||
Revision as of 23:48, 14 August 2019
Dialogue templates for stories.
Types:
- Intro
- End
Character Intro
This generates an intro card for a character. Used when the game switches screens to show a character with their name and title.
Indicated with type: Intro
Parameters:
- Type
- Character
- Text
Example:
- {{STDialogue|Intro|Siren|Dragon Songstress}}
{{#css: p.stdialogue-intro { text-align: center; border: rgba(0,0,0,.3) 5px solid; border-left: none; border-right: none; background: rgba(240,240,240,.9); padding: .5em;" }
span.stdialogue-intro-text { font-weight: bold; font-size: smaller }
span.stdialogue-intro-char { color: #fff; text-shadow: -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000; }
p.stdialogue-end { text-align: center; background: #000; color: #fff; padding: .5em; }
}}
Dragon Songstress
Siren
Story Outro
This generates an outro card for the story. Used at the end, if the story specifies "The End".
Indicated with type: End
Parameters:
- Type
Example:
- {{STDialogue|End}}
{{#css: p.stdialogue-intro { text-align: center; border: rgba(0,0,0,.3) 5px solid; border-left: none; border-right: none; background: rgba(240,240,240,.9); padding: .5em;" }
span.stdialogue-intro-text { font-weight: bold; font-size: smaller }
span.stdialogue-intro-char { color: #fff; text-shadow: -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000; }
p.stdialogue-end { text-align: center; background: #000; color: #fff; padding: .5em; }
}}
The End