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] |
||
| (32 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Hatnote |
|||
<div class="noexcerpt" style="text-align:center{{#if:{{{color|}}}|;color:{{{color}}}|}}"> |
|||
|color={{{color|}}} |
|||
<hr/> |
|||
|color_applies_to_links={{{color_applies_to_links|}}} |
|||
<span style="font-family:var(--font-family-serif);font-size:var(--font-size-xxx-large);font-weight:bold">[[Index:{{{scope}}}|Index]] / [[Lexica:{{{scope}}}|Lexica]] / [[Timeline:{{{scope}}}|Timeline]]</span> |
|||
|primary='''[[Index:{{{scope|{{{for}}}}}}|Index]]''' / '''[[Lexica:{{{scope|{{{for}}}}}}|Lexica]]''' / '''[[Timeline:{{{timeline_for|{{{scope|{{{for}}}}}}}}}|Timeline]]''' |
|||
<hr/> |
|||
|font={{{font|}}} |
|||
</div> |
|||
|primary_transform={{#if:{{{uppercase|}}}|uppercase|none}} |
|||
|primary_font_size=xxx-large |
|||
|remove_hr_bottom={{{remove_hr_bottom|}}} |
|||
}}<noinclude> |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"color": { |
|||
"label": "Color", |
|||
"description": "The color of the text and horizontal rules", |
|||
"type": "string" |
|||
}, |
|||
"for": { |
|||
"label": "For", |
|||
"description": "The page name to link to", |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"font": { |
|||
"label": "Font", |
|||
"description": "The font to use for the text", |
|||
"type": "string", |
|||
"default": "var(--font-family-serif)" |
|||
}, |
|||
"uppercase": { |
|||
"label": "Uppercase", |
|||
"description": "If the text should be uppercase", |
|||
"type": "boolean", |
|||
"default": "false" |
|||
} |
|||
}, |
|||
"description": "Adds links to scope meta pages as a hatnote", |
|||
"format": "block" |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
|||
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 |