Template:Sandbox: Difference between revisions
Template page
More actions
imported>Xhamon No edit summary |
imported>Xhamon No edit summary |
||
| Line 1: | Line 1: | ||
<onlyinclude><includeonly><!--START-->{{{ | <onlyinclude><includeonly><!--START-->{{#if:{{{txt|}}}{{{bg|}}}|{{#tag:span|{{{1}}}|style=display:inline-block; {{#ifeq:{{{format|}}}|li|min-width:200px; padding:1px 10px 1px 5px; margin:1px;|}} {{#if:{{{bg|}}}| | ||
background-color:{{#switch: {{{bg}}} | |||
| #default = {{{bg}}} | |||
| Eribu = #2e1816 | |||
| Absu = #38174d | |||
| Zi = #1d226b | |||
| Kur = #42281a | |||
| Indi = #165450 | |||
| Ukkin-Na = #155035 | |||
| Edin = #273c40 | |||
| E-Kur-Mah = #503d2a | |||
| Mar-Uru = #3c3e49 | |||
}};|}} {{#if:{{{txt|}}}|color:{{{txt}}};|}} border-radius:5px;}}|{{{1}}}}}<!--END--></includeonly></onlyinclude> | |||
<!--Please do not delete the instructions or the start/end tags--> | <!--Please do not delete the instructions or the start/end tags--> | ||
Revision as of 03:21, 7 October 2022
This is used for testing templates, in conjunction with Special:ExpandTemplates. (There are some things, like transclusion or substitution behavior, that cannot be tested with Special:ExpandTemplates alone.)
Instructions: Just replace whatever is between the <!--START--> and <!--END--> markers with the code you wish to test. (Please do not delete the instructions.)
Then, just use {{Sandbox|...}} in Special:ExpandTemplates or in page editing preview.
For info about how to create templates, consult wikipedia:Help:Template.