Template:Internal names: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{| id="internal-names" class="wikitable" style="{{#if:{{{float|}}}|float:left}}"
<includeonly>{| id="internal-names" class="wikitable {{#switch:{{{origins}}}|0|no|hide=no-origins}} {{#switch:{{{meanings}}}|0|no|hide=no-meanings}}" style="{{#if:{{{float|}}}|float:left}}"
! Name
! Name
! Origin
! Meaning
! Meaning
{{#forargs:name|key|value|<nowiki/>
{{#forargs:name|key|value|<nowiki/>
{{!}}-
{{!}}-
{{!}} {{{name{{#var:key}}}}} {{!}}{{!}} {{{meaning{{#var:key}}|}}}
{{!}} {{{name{{#var:key}}}}} {{!}}{{!}} {{{origin{{#var:key}}|}}} {{!}}{{!}} {{{meaning{{#var:key}}|}}}
}}
}}
|}</includeonly><noinclude>
|}<templatestyles src="Internal names/styles.css"/></includeonly><noinclude>
This template allows putting information about the internal names of article subjects and their respective meanings into an article.
This template allows putting information about the internal names of article subjects and their respective meanings into an article.


Line 14: Line 15:
{{internal names
{{internal names
|name1=
|name1=
|origin1=
|meaning1=
|meaning1=
}}
}}
</pre>
</pre>


This works for any amount of numbered <code>name</code> and <code>meaning</code> parameters.
This works for any amount of numbered <code>name</code>/<code>origin</code>/<code>meaning</code> parameters.


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 07:56, May 14, 2022

This template allows putting information about the internal names of article subjects and their respective meanings into an article.

This template should be placed in the "Internal names" section of an article. If accompanied by {{foreign names}}, then "Internal names" and "Names in other languages" should be made sub-sections of an "Additional names" section. The syntax is as follows:

{{internal names
|name1=
|origin1=
|meaning1=
}}

This works for any amount of numbered name/origin/meaning parameters.