Template:5e Setting: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div style="display:block; float:right; border-style:solid; border-width:1px; {{5e Setting Color|{{{1|}}}}} border-radius:0.5em; <!--max-width: 20vw;--> padding:0 0.5em;">'''<span style="font-size: 0.9rem;">Setting{{#if: {{{2|}}}|&ensp;Specific|}}: {{5ed|{{{1}}}}}</div>[[Category:5e {{{1|no setting}}}]]</includeonly><noinclude>
<includeonly><div style="display:block; float:right; border-style:solid; border-width:1px; {{5e Setting Color|{{{1|}}}}} border-radius:0.5em; <!--max-width: 20vw;--> padding:0 0.5em;"><span style="font-size: 0.9rem;">Setting{{#if: {{{2|}}}|&ensp;Specific|}}: '''{{5ed|{{{1}}}}}'''</div>[[Category:5e {{{1|no setting}}}]]</includeonly><noinclude>
==Use==
==Use==
Badge to display setting.
Badge to display setting.

Revision as of 18:05, 5 June 2020

Use

Badge to display setting.

Syntax

{{5e Setting|SettingName}}

Example

{{5e Setting|The Setting}}
{{5e Setting|Eberron}}
{{5e Setting|Third Setting|y}}

produces...

Setting: The Setting


Setting: Eberron


Setting Specific: Third Setting

Dependencies

This template calls Template:5e Setting Color that returns the border and background color for a setting.