Template:One Setting: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly><div style="display:block; float:right; border-style:solid; border-width:1px; {{One Setting/Color|{{{1|}}}}} border-radius:0.5em; <!--max-width: 20vw;--> padding:0 0.5em; margin-top:2px;"><span style="font-size: 0.9rem;">Setting{{#if: {{{2|}}}| Specific|}}: '''{{One|{{{1}}}}}'''</div>[[Category:One {{{1|no setting}}}]]</includeonly><noinclude> ==Use== Badge to display setting. ==Syntax== <pre>{{One Setting|SettingName|OptSettingSpecific}}</pre> ==Exam...")
 
mNo edit summary
 
Line 22: Line 22:


==Dependencies==
==Dependencies==
This template calls [[Template:One Setting Color]] that returns the border and background color for a setting.
This template calls [[Template:One Setting/Color]] that returns the border and background color for a setting.


[[Category:One Templates]]
[[Category:One Templates]]
</noinclude>
</noinclude>

Latest revision as of 16:30, 1 November 2023

Use[edit]

Badge to display setting.

Syntax[edit]

{{One Setting|SettingName|OptSettingSpecific}}

Example[edit]

{{One Setting|The Setting}}
{{One Setting|Eberron}}
{{One Setting|Third Setting|y}}

produces...

Setting: The Setting


Setting: Eberron


Setting Specific: Third Setting

Dependencies[edit]

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