Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Sandbox: Difference between revisions

Template page
imported>Xhamon
No edit summary
imported>Xhamon
2nd try.
 
Line 1: Line 1:
<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|}}}|
<onlyinclude><includeonly><!--START-->{{{format|*}}}{{iconlink|filename={{{1}}}{{#if:{{{g|}}}|_(AV{{{g}}})|}}.png|target={{{1}}}{{#if:{{{g|}}}|&#35;Axiom Verge {{{g}}}|}}|label={{{2|{{{1}}}}}}|border={{#switch:{{{1}}}|#default=|Xedur|Telal|Uruku|Gir-Tab|Vision|Aborted Clone|Ukhu|Sentinel|Xedur Hul|Athetos=1}}|extra={{{x|}}}|color={{{color|}}}}}<!--END--></includeonly></onlyinclude>
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-->

Latest revision as of 03:29, 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.