Template:When defined as and Template:Content file: 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:
#REDIRECT [[Template:Definition]]
{{#tag: h{{{level|3}}} |
{{#if: {{{archive|}}} |{{archiveicon}}|{{fileicon}}}} {{{prefix|}}}[[{{{1}}}|{{{1|{{{text}}}}}}]]}}
{{#ifexist: {{{1}}} |{{:{{{1}}}}}|}}<div style="clear: both;"></div><noinclude><templatedata>
{
"params": {
        "1": {
"label": "Target page",
"type": "wiki-page-name",
            "required": true
        },
        "prefix": {
"label": "Non-link prefix",
"type": "string"
        },
        "text": {
"label": "Repalcement display text",
"type": "string"
        },
        "level": {
"label": "Heading level",
"type": "number",
            "description": "Defaults to 3"
        },
        "archive": {
"label": "Is archive?",
"type": "boolean",
            "description": "Uses archive icon if true"
        }
}
}
</templatedata>
[[Category: ZeldaMods templates]]
</noinclude>

Revision as of 18:03, 4 April 2019

[[{{{1}}}|{{{text}}}]]

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