Template:PageButtons: Difference between revisions
From the Audiovisual Identity Database, the motion graphics museum
Content added Content deleted
No edit summary |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src=PageButtons/styles.css /> |
<templatestyles src=PageButtons/styles.css /> |
||
<div class=pagebuttons>{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}|Main|class=mw-ui-progressive}} {{#if:{{{Availability|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Availability|Availability|class=mw-ui-progressive}}}} {{#if:{{{Logo Variations|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Logo Variations|Logo Variations|class=mw-ui-progressive}}}} {{#if:{{{Trailers|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Trailer Variations|Trailer Variations|class=mw-ui-progressive}}}} {{#if:{{{ |
<div class=pagebuttons>{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}|Main|class=mw-ui-progressive}} {{#if:{{{Availability|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Availability|Availability|class=mw-ui-progressive}}}} {{#if:{{{Logo Variations|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Logo Variations|Logo Variations|class=mw-ui-progressive}}}} {{#if:{{{Trailers|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Trailer Variations|Trailer Variations|class=mw-ui-progressive}}}} {{#if:{{{Warning Screen Variations|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Warning Screen Variations|Warning Screen Variations|class=mw-ui-progressive}}}} {{#if:{{{Tag Variations|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Tag Variations|Tag Variations|class=mw-ui-progressive}}}}<br></div><noinclude>[[Category:Navigation templates]] |
||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"params": { |
"params": { |
||
"title": {}, |
"title": {}, |
||
"Main": { |
|||
"description": "Manually define a link for the \"Main\" button - if not set template defaults to the name of the root page." |
|||
⚫ | |||
"Availability": { |
"Availability": { |
||
"description": "Add \"Availability\" button." |
"description": "Add \"Availability\" button." |
||
Line 15: | Line 12: | ||
}, |
}, |
||
"Trailers": { |
"Trailers": { |
||
"description": "Add \"Trailers\" |
"description": "Add \"Trailers\" button." |
||
⚫ | |||
"Warning Screen Variations": { |
|||
"description": "Add \"Warning Screen Variations\" button." |
|||
}, |
}, |
||
" |
"Tag Variations": { |
||
"description": "Add |
"description": "Add \"Tag Variations\" button." |
||
} |
} |
||
}, |
}, |
||
Line 24: | Line 24: | ||
"paramOrder": [ |
"paramOrder": [ |
||
"title", |
"title", |
||
"Main", |
|||
"Availability", |
"Availability", |
||
"Logo Variations", |
"Logo Variations", |
||
"Trailers", |
"Trailers", |
||
"Warning Screen Variations", |
|||
"other, other2, other3... other20" |
|||
"Tag Variations" |
|||
] |
] |
||
} |
} |
Revision as of 15:54, 10 January 2024
Add navigation links for pages pertaining to the same company to the top of a page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | no description | Unknown | optional |
Availability | Availability | Add "Availability" button. | Unknown | optional |
Logo Variations | Logo Variations | Add "Logo Variations" button. | Unknown | optional |
Trailers | Trailers | Add "Trailers" button. | Unknown | optional |
Warning Screen Variations | Warning Screen Variations | Add "Warning Screen Variations" button. | Unknown | optional |
Tag Variations | Tag Variations | Add "Tag Variations" button. | Unknown | optional |