Template:Story: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Support second argument to change text.)
(Use documentation/template demo templates)
 
Line 2: Line 2:
| [[{{{1}}}|{{RarityColor|story|{{{2 | {{{1}}} }}}}}]]
| [[{{{1}}}|{{RarityColor|story|{{{2 | {{{1}}} }}}}}]]
| {{RarityColor|story|Story Item}}
| {{RarityColor|story|Story Item}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>{{Documentation|content=
Usage: {{code|<nowiki>{{Story}}</nowiki>}}
Formats text with story colours.


Result: {{Story}}
{{Template demo
| style = table
| <nowiki>{{Story}}</nowiki>
| <nowiki>{{Story|Necromancy of Thay}}</nowiki>
| <nowiki>{{Story|Silver Key (Szarr Palace)|Silver Key}}</nowiki>
}}


Usage: {{code|<nowiki>{{Story|Necromancy of Thay}}</nowiki>}}
}}
 
[[Category:Templates]]
Result: {{Story|Necromancy of Thay}}
[[Category:Rarity templates]]
 
Usage: {{code|<nowiki>{{Story|Silver Key (Szarr Palace)|Silver Key}}</nowiki>}}
 
Result: {{Story|Silver Key (Szarr Palace)|Silver Key}}
 
[[Category:Rarity Templates]]
</noinclude>
</noinclude>

Latest revision as of 22:27, 19 January 2025

Template documentation

Formats text with story colours.

Markup Renders as
{{Story}}
Story Item
{{Story|Necromancy of Thay}}
Necromancy of Thay
{{Story|Silver Key (Szarr Palace)|Silver Key}}
Silver Key