Template:Zdoomwiki: Difference between revisions

From Zandronum Wiki
(plainlinks is unneccessary for interwiki links)
Tag: Source edit
(Add TemplateData)
Tag: Source edit
Line 1: Line 1:
<noinclude>
<templatedata>
{
"description": "Creates a link to the ZDoom Wiki",
"format": "inline",
"params": {
"page": {
"label": "Title",
"type": "line",
"required": true,
"description": "The title of the page to link to"
},
"text": {
"label": "Text",
"type": "content",
"required": false,
"description": "The text of the link"
}
}
}
</templatedata><noinclude>
This template links to the [http://zdoom.org/wiki ZDoom Wiki].
This template links to the [http://zdoom.org/wiki ZDoom Wiki].



Revision as of 03:26, 2 January 2023

Creates a link to the ZDoom Wiki

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Titlepage

The title of the page to link to

Linerequired
Texttext

The text of the link

Contentoptional

This template links to the ZDoom Wiki.

Examples

  1. Creates a link to the ZDoom Wiki

    Template parameters[Edit template data]

    This template prefers inline formatting of parameters.

    ParameterDescriptionTypeStatus
    Titlepage

    The title of the page to link to

    Linerequired
    Texttext

    The text of the link

    Contentoptional
    Main Page
    {{zdoomwiki|Main Page}}
  2. Creates a link to the ZDoom Wiki

    Template parameters[Edit template data]

    This template prefers inline formatting of parameters.

    ParameterDescriptionTypeStatus
    Titlepage

    The title of the page to link to

    Linerequired
    Texttext

    The text of the link

    Contentoptional
    Using ZIPs as WAD replacement
    {{zdoomwiki|Using ZIPs as WAD replacement}}
  3. Creates a link to the ZDoom Wiki

    Template parameters[Edit template data]

    This template prefers inline formatting of parameters.

    ParameterDescriptionTypeStatus
    Titlepage

    The title of the page to link to

    Linerequired
    Texttext

    The text of the link

    Contentoptional
    An article
    {{zdoomwiki|Using ZIPs as WAD replacement|An article}}