Template:Redirect: Difference between revisions

From Eeveesauce Lore Wiki
Jump to navigation Jump to search
(link the articles)
m (dont show second half if not defined)
 
Line 1: Line 1:
<includeonly>[[{{{1}}}]] redirects here. For {{{2}}}, see [[{{{3}}}]]. For {{{4}}}, see [[{{{5}}}]].</includeonly>
<includeonly>[[{{{1}}}]] redirects here. For {{{2}}}, see [[{{{3}}}]].{{#if: {{{4|}}}|For {{{4|}}}, see {{{5|}}}.}}</includeonly>
<noinclude><templatedata>
<noinclude><templatedata>
{
{
"params": {
"params": {
"redirect": {
"1": {
"label": "\"... redirects here.\"",
"label": "\"... redirects here.\"",
"description": "What redirects here.",
"description": "What redirects here.",
Line 10: Line 10:
"required": true
"required": true
},
},
"see": {
"2": {
"label": "\"see ... .\"",
"label": "\"see ... .\"",
"description": "The article for said thing that could be referred to.",
"description": "The article for said thing that could be also referred to.",
"example": "Apple (Company)",
"example": "Apple (Company)",
"type": "wiki-page-name",
"type": "wiki-page-name",
"required": true
"required": true
},
},
"for": {
"3": {
"label": "\"For ...,\"",
"label": "\"For ...,\"",
"description": "The other thing that the article could be referring to.",
"description": "The thing that the redirect could also be referring to.",
"example": "the company",
"example": "the company",
"type": "string",
"type": "string",
"required": true
"required": true
},
},
"for2": {
"4": {
"label": "\"For ...\"",
"label": "\"For ...\"",
"description": "Another thing that could be referred to.",
"description": "Another thing that could be referred to.",
Line 30: Line 30:
"type": "string"
"type": "string"
},
},
"see2": {
"5": {
"label": "\"see ... .\"",
"label": "\"see ... .\"",
"description": "The page for said other thing being referred to.",
"description": "The article for said other thing being referred to.",
"example": "Apple (Disambiguation)",
"example": "Apple (Disambiguation)",
"type": "wiki-page-name"
"type": "wiki-page-name"
Line 38: Line 38:
},
},
"description": "Distinguish between multiple pages after a redirect.",
"description": "Distinguish between multiple pages after a redirect.",
"format": "block",
"format": "inline",
"paramOrder": [
"paramOrder": [
"redirect",
"1",
"for",
"2",
"see",
"3",
"for2",
"4",
"see2"
"5"
]
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 15:56, 1 September 2024

Distinguish between multiple pages after a redirect.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
"... redirects here."1

What redirects here.

Example
Apple
Page namerequired
"see ... ."2

The article for said thing that could be also referred to.

Example
Apple (Company)
Page namerequired
"For ...,"3

The thing that the redirect could also be referring to.

Example
the company
Stringrequired
"For ..."4

Another thing that could be referred to.

Example
other uses
Stringoptional
"see ... ."5

The article for said other thing being referred to.

Example
Apple (Disambiguation)
Page nameoptional