Template:PageButtons: Difference between revisions
From the Audiovisual Identity Database, the motion graphics museum
Content deleted Content added
No edit summary |
No edit summary |
||
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:{{{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 |
<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> |
||
{ |
{ |
||
Line 15: | Line 15: | ||
}, |
}, |
||
"Trailers": { |
"Trailers": { |
||
"description": "Add \"Trailers\" |
"description": "Add \"Trailers\" button." |
||
}, |
}, |
||
"Warning Screen Variations": { |
"Warning Screen Variations": { |
||
Line 22: | Line 22: | ||
"Tag Variations": { |
"Tag Variations": { |
||
"description": "Add \"Tag Variations\" button." |
"description": "Add \"Tag Variations\" button." |
||
}, |
|||
"other, other2, other3... other20": { |
|||
"description": "Add any other associated subpage that does not fit the above" |
|||
} |
} |
||
}, |
}, |
||
Line 35: | Line 32: | ||
"Trailers", |
"Trailers", |
||
"Warning Screen Variations", |
"Warning Screen Variations", |
||
"Tag Variations" |
"Tag Variations" |
||
"other, other2, other3... other20" |
|||
] |
] |
||
} |
} |
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 |
Main | Main | Manually define a link for the "Main" button - if not set template defaults to the name of the root page. | 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 |