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>{|align="right" style="border-style:solid; border-width:1px; border-color:SaddleBrown ; border-radius:0.5em; background:Sienna; min-width:150px;"
<includeonly>{|align="right" style="border-style:solid; border-width:1px; border-color:SaddleBrown ; border-radius:0.5em; background:Sienna; min-width:150px;"
|style="{{#if: {{{2|}}}|background:{{{2}}};|backgroundIvory ;}} text-align: center; border-top:solid 1px Sienna; border-top-left-radius:0.5em; border-top-right-radius:0.5em; "|'''[[5e:{{{1|no setting}}}|{{{1|no setting}}}]]'''
|style="{{#if: {{{2|}}}|background:{{{2}}};|background:Ivory ;}} text-align: center; border-top:solid 1px Sienna; border-top-left-radius:0.5em; border-top-right-radius:0.5em; "|'''[[5e:{{{1|no setting}}}|{{{1|no setting}}}]]'''
|-
|-
|style="background:Sienna; text-align:center; font-size:7pt; color:Ivory;"|Setting {{#if: {{{3|}}}|Specific <!--{{#set: Setting Specific=true}}-->| }}
|style="background:Sienna; text-align:center; font-size:7pt; color:Ivory;"|Setting {{#if: {{{3|}}}|Specific|}[[Category:5e {{{1|no setting}}}]]</includeonly><noinclude>
|}[[Category:5e {{{1|no setting}}}]]<!--{{#set: Setting={{{1|no setting}}}}}--></includeonly><noinclude>
==Syntax==
==Syntax==
<pre>{{5e Setting|SettingName|optBGcolor|optSettingSpecific}}</pre>
<pre>{{5e Setting|SettingName|optBGcolor|optSettingSpecific}}</pre>

Revision as of 10:01, 31 March 2020

Syntax

{{5e Setting|SettingName|optBGcolor|optSettingSpecific}}

Example

{{5e Setting|The Setting}}
{{5e Setting|Second Setting|#ccccff}}
{{5e Setting|Third Setting||y}}

produces...

The Setting
Setting {{#if: |Specific|}


Second Setting
Setting {{#if: |Specific|}


Third Setting
Setting {{#if: y|Specific|}