Template:Content file: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>BravelyPeculiar
(Created page with "{{#tag: h{{{level|3}}} | {{fileicon}} [[{{{target}}}|{{{target|{{{text}}}}}}]] {{#ifexist: {{{target}}} |{{:{{{target}}}}}|}}<div style="clear: both;"></div><noinclude><templa...")
 
imported>BravelyPeculiar
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#tag: h{{{level|3}}} |
{{#tag: h{{{level|3}}} |
{{fileicon}} [[{{{target}}}|{{{target|{{{text}}}}}}]]
{{#if: {{{archive|}}} |{{archiveicon}}|{{fileicon}}}} {{{prefix|}}}{{{text|[[{{{1}}}]]}}}}}
{{#ifexist: {{{target}}} |{{:{{{target}}}}}|}}<div style="clear: both;"></div><noinclude><templatedata>
{{#ifexist: {{{1}}} |{{:{{{1}}}}}|}}<div style="clear: both;"></div><noinclude><templatedata>
{
{
"params": {
"params": {
         "target": {
         "1": {
"label": "Target page",
"label": "Target page",
"type": "wiki-page-name",
"type": "wiki-page-name",
             "required": true
             "required": true
        },
        "prefix": {
"label": "Non-link prefix",
"type": "string"
         },
         },
         "text": {
         "text": {
"label": "Display text",
"label": "Repalcement display text",
"type": "string"
"type": "string"
         },
         },
Line 17: Line 21:
"type": "number",
"type": "number",
             "description": "Defaults to 3"
             "description": "Defaults to 3"
        },
        "archive": {
"label": "Is archive?",
"type": "boolean",
            "description": "Uses archive icon if true"
         }
         }
}
}

Latest revision as of 19:49, 4 April 2019

[[{{{1}}}]]

No description.

Template parameters

ParameterDescriptionTypeStatus
Target page1

no description

Page namerequired
Non-link prefixprefix

no description

Stringoptional
Repalcement display texttext

no description

Stringoptional
Heading levellevel

Defaults to 3

Numberoptional
Is archive?archive

Uses archive icon if true

Booleanoptional