Template:Story: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
Use documentation/template demo templates
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}}
<includeonly>{{#if: {{{1|}}}
| [[{{{1}}}|{{RarityColor|story|{{{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]]
</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