Template:Hatnote links: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
Tesinormed (talk | contribs) m Protected "Template:Hatnote links" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading] |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ |
{{Hatnote |
||
|color={{{color|}}} |
|color={{{color|}}} |
||
|color_applies_to_links={{{color_applies_to_links|}}} |
|color_applies_to_links={{{color_applies_to_links|}}} |
||
|primary=[[Index:{{{scope}}}|Index]] / [[Lexica:{{{scope}}}|Lexica]] / [[Timeline:{{{ |
|primary='''[[Index:{{{scope|{{{for}}}}}}|Index]]''' / '''[[Lexica:{{{scope|{{{for}}}}}}|Lexica]]''' / '''[[Timeline:{{{timeline_for|{{{scope|{{{for}}}}}}}}}|Timeline]]''' |
||
|font={{{font|}}} |
|||
|primary_transform={{#if:{{{uppercase|}}}|uppercase|none}} |
|primary_transform={{#if:{{{uppercase|}}}|uppercase|none}} |
||
|primary_font_size=xxx-large |
|primary_font_size=xxx-large |
||
|remove_hr_bottom={{{remove_hr_bottom|}}} |
|||
}}<noinclude> |
}}<noinclude> |
||
<templatedata> |
<templatedata> |
||
| Line 14: | Line 16: | ||
"type": "string" |
"type": "string" |
||
}, |
}, |
||
" |
"for": { |
||
"label": " |
"label": "For", |
||
"description": "The |
"description": "The page name to link to", |
||
"type": "string", |
"type": "string", |
||
"required": true |
"required": true |
||
| Line 29: | Line 31: | ||
"label": "Uppercase", |
"label": "Uppercase", |
||
"description": "If the text should be uppercase", |
"description": "If the text should be uppercase", |
||
"type": "boolean", |
|||
"default": "false" |
|||
}, |
|||
"add_random_page_link": { |
|||
"label": "Add random page link", |
|||
"description": "If Special:RandomInCategory should be added as a link", |
|||
"type": "boolean", |
"type": "boolean", |
||
"default": "false" |
"default": "false" |
||
Latest revision as of 10:51, September 11, 2025
[[Index:{{{for}}}|Index]] / [[Lexica:{{{for}}}|Lexica]] / [[Timeline:{{{for}}}|Timeline]]
Adds links to scope meta pages as a hatnote
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Color | color | The color of the text and horizontal rules | String | optional |
| For | for | The page name to link to | String | required |
| Font | font | The font to use for the text
| String | optional |
| Uppercase | uppercase | If the text should be uppercase
| Boolean | optional |