Template:TemplateBox/layout: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
Wikimedia+Commons>ExE Boss
 
m 1 revision imported: Licence templates
 
(4 intermediate revisions by 3 users not shown)
Line 25: Line 25:
</div>{{#if: {{{shorthand|}}} |<nowiki/>
</div>{{#if: {{{shorthand|}}} |<nowiki/>


{{{msg-shorthand|}}}<kbd>{{#ifexist: Template:{{{shorthand|}}} | <nowiki>{{</nowiki>{{{shorthand}}}{{#ifeq:{{{argCount|}}}|0|<!-- nothing -->| {{!}}{{{msg-shorthand-params-possible|… parameters as described …}}}}}<nowiki>}}</nowiki> | {{{shorthand|}}}}}</kbd>
{{{msg-shorthand|}}}<div style="font-family: monospace, monospace;">{{#ifexist: Template:{{{shorthand|}}} | <nowiki>{{</nowiki>{{{shorthand}}}{{#ifeq:{{{argCount|}}}|0|<!-- nothing -->| {{!}}{{{msg-shorthand-params-possible|… parameters as described …}}}}}<nowiki>}}</nowiki> | {{{shorthand|}}}}}</div>
}}{{#if: {{{usage-notes|}}} |<nowiki/>
}}{{#if: {{{usage-notes|}}} |<nowiki/>


Line 130: Line 130:
{{{msg-example-renders-as|}}}
{{{msg-example-renders-as|}}}
<div class="templatebox-example">
<div class="templatebox-example">
{{{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}|{{{example2|}}}|category=}}
{{#if:{{{example2-value|}}}|{{{example2-value}}}|{{{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}|{{{example2|}}}|category=}}}}
</div>
</div>
}}{{#if: {{{seealso|}}} |<nowiki/>
}}{{#if: {{{seealso|}}} |<nowiki/>

Latest revision as of 20:34, 27 December 2022

=== ===