Scheduled system upgrade on Sunday 21 April 2024 15:00-16:00 UTC - On that day, the wiki and other services might go down for 5-15 minutes.

Template:Tag and Template:Archive heading: Difference between pages

From ZeldaMods (Breath of the Wild)
(Difference between pages)
Jump to navigation Jump to search
imported>Leoetlino
m (1 revision imported)
 
imported>BravelyPeculiar
No edit summary
 
Line 1: Line 1:
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
<h2>{{#vardefine: path_middle |{{#titleparts: {{PAGENAME}} | -1 | 2 }}}}
Opening tag
{{#vardefine: link_text |{{{archive|Content}}}/{{#var: path_middle}}}}
-->{{#switch:{{{2|pair}}}
{{#if: {{#var: path_middle}} | [[Content/{{#var: path_middle}}#{{#var: link_text}}|{{#var: link_text}}]]|[[{{{archive|Content}}}]]}}/{{SUBPAGENAME}}</h2>
  |c|close =
<noinclude>
  |e|empty|s|single|v|void
<templatedata>
  |o|open
{
  |p|pair = &lt;{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
"params": {
}}<!--
        "1": {
Content between tags
"label": "Archive",
-->{{#switch:{{{2|pair}}}
            "description": "Don't include for unpacked files",
  |c|close = {{{content|}}}
"type": "string"
  |e|empty|s|single|v|void = &#32;&#47;&gt;
        }
  |o|open = &gt;{{{content|}}}
}
  |p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
}
}}<!--
</templatedata>
Closing tag
[[Category: ZeldaMods templates]]
-->{{#switch:{{{2|pair}}}
  |e|empty|s|single|v|void
  |o|open =
  |c|close
  |p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
}}<!--
--></code><noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 17:30, 4 April 2019

Content/Archive heading

No description.

Template parameters

ParameterDescriptionTypeStatus
Archive1

Don't include for unpacked files

Stringoptional