Template:PageButtons: Difference between revisions
From the Audiovisual Identity Database, the motion graphics museum
Content deleted Content added
implementing dual main feature suggested at AVID:Requests_for_Comment/Have_the_"Main"_button_on_the_PageButtons_template_show_multiple_pages_if_on_a_page_where_a_warning_or_bumper_is_used_by_multiple_companies |
No edit summary |
||
(26 intermediate revisions by 3 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:{{{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}}}} {{#if:{{{Sponsor Bumper Variations|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Sponsor Bumper Variations|Sponsor Bumper Variations|class=mw-ui-progressive}}}}<br></div><noinclude>[[Category:Navigation templates]] |
|||
<div class=pagebuttons>{{#if:{{{Main2|}}}|{{Button|text=Main<small> ([[{{#if:{{{Main|}}}|{{{Main}}}|{{ROOTPAGENAME}}}}]] {{!}} [[{{{Main2}}}]])</small>|class=mw-ui-progressive}}|{{Clickable button 2|{{{title|{{#if:{{{Main|}}}|{{{Main}}}|{{ROOTPAGENAME}}}}}}}|Main|class=mw-ui-progressive}}}} {{#if:{{{Production Logo|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Production Logo|Production Logo|class=mw-ui-progressive}}}} {{#if:{{{Production Logos|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Production Logos|Production Logos|class=mw-ui-progressive}}}} {{#if:{{{Station Index|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Station Index|Station Index|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:{{{Clip-On Library|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Clip-On Library|Clip-On Library|class=mw-ui-progressive}}}} {{#if:{{{Warning Screen|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Warning Screen|Warning Screen|class=mw-ui-progressive}}}} {{#if:{{{Warning Screens|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Warning Screens|Warning Screens|class=mw-ui-progressive}}}} {{#if:{{{Warning Screen Variations|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Warning Screen Variations|Warning Screen Variations|class=mw-ui-progressive}}}} {{#if:{{{Commercial Tag|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Commercial Tag|Commercial Tag|class=mw-ui-progressive}}}} {{#if:{{{Commercial Tags|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Commercial Tags|Commercial Tags|class=mw-ui-progressive}}}} {{#if:{{{Commentary Track Screen|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Commentary Track Screen|Commentary Track Screen|class=mw-ui-progressive}}}} {{#if:{{{Commentary Track Screens|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Commentary Track Screens|Commentary Track Screens|class=mw-ui-progressive}}}} {{#if:{{{Certificate of Approval Screen|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Certificate of Approval Screen|Certificate of Approval Screen|class=mw-ui-progressive}}}} {{#if:{{{Certificate of Approval Screens|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Certificate of Approval Screens|Certificate of Approval Screens|class=mw-ui-progressive}}}} {{#if:{{{Availability Screen|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Availability Screen|Availability Screen|class=mw-ui-progressive}}}} {{#if:{{{Availability Screens|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Availability Screens|Availability Screens|class=mw-ui-progressive}}}} {{#if:{{{Disc Info Screen|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Disc Info Screen|Disc Info Screen|class=mw-ui-progressive}}}} {{#if:{{{Disc Info Screens|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Disc Info Screens|Disc Info Screens|class=mw-ui-progressive}}}} {{#if:{{{Rating Bumper|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Rating Bumper|Rating Bumper|class=mw-ui-progressive}}}} {{#if:{{{Rating Bumpers|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Rating Bumpers|Rating Bumpers|class=mw-ui-progressive}}}} {{#if:{{{Anti-Piracy Notice|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Anti-Piracy Notice|Anti-Piracy Notice|class=mw-ui-progressive}}}} {{#if:{{{Anti-Piracy Notices|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Anti-Piracy Notices|Anti-Piracy Notices|class=mw-ui-progressive}}}} {{#if:{{{LaserDisc Side Bumper|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/LaserDisc Side Bumper|LaserDisc Side Bumper|class=mw-ui-progressive}}}} {{#if:{{{LaserDisc Side Bumpers|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/LaserDisc Side Bumpers|LaserDisc Side Bumpers|class=mw-ui-progressive}}}} {{#if:{{{Break Bumper|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Break Bumper|Break Bumper|class=mw-ui-progressive}}}} {{#if:{{{Break Bumpers|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Break Bumpers|Break Bumpers|class=mw-ui-progressive}}}} {{#if:{{{Closed Captioning Bumper|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Closed Captioning Bumper|Closed Captioning Bumper|class=mw-ui-progressive}}}} {{#if:{{{Closed Captioning Bumpers|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Closed Captioning Bumpers|Closed Captioning Bumpers|class=mw-ui-progressive}}}} {{#if:{{{Test Card|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Test Card|Test Card|class=mw-ui-progressive}}}} {{#if:{{{Test Cards|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/Test Cards|Test Cards|class=mw-ui-progressive}}}} {{#if:{{{VT Clock|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/VT Clock|VT Clock|class=mw-ui-progressive}}}} {{#if:{{{VT Clocks|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/VT Clocks|VT Clocks|class=mw-ui-progressive}}}} {{#if:{{{other|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/{{{other}}}|{{{other}}}|class=mw-ui-progressive}}}} {{#if:{{{other2|}}}|{{Clickable button 2|{{{title|{{ROOTPAGENAME}}}}}/{{{other2}}}|{{{other2}}}|class=mw-ui-progressive}}}}<br></div><noinclude>[[Category:Navigation templates]] |
|||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"params": { |
"params": { |
||
" |
"title": {}, |
||
⚫ | |||
"description": "Add \" |
"description": "Add \"Availability\" button." |
||
}, |
|||
"Trailers": { |
|||
"description": "Add \"Trailers\" link next to \"Logo Variations\". Only use if the \"Logo Variations\" parameter is also enabled." |
|||
}, |
}, |
||
"Logo Variations": { |
"Logo Variations": { |
||
"description": "Add \"Logo Variations\" button." |
"description": "Add \"Logo Variations\" button." |
||
}, |
}, |
||
" |
"Trailers": { |
||
"description": "Add \" |
"description": "Add \"Trailers\" button." |
||
}, |
}, |
||
" |
"Warning Screen Variations": { |
||
"description": "Add \" |
"description": "Add \"Warning Screen Variations\" button." |
||
}, |
}, |
||
" |
"Tag Variations": { |
||
"description": "Add \" |
"description": "Add \"Tag Variations\" button." |
||
}, |
}, |
||
" |
"Sponsor Bumper Variations": { |
||
"description": "Add \" |
"description": "Add \"Sponsor Bumper Variations\" button." |
||
}, |
}, |
||
" |
"Home Video Bumpers": {}, |
||
"Availability Screens": {}, |
|||
"Certificate of Approval Screens": {}, |
|||
}, |
|||
" |
"Commentary Track Screens": {}, |
||
"Warning Screens": {} |
|||
"description": "Add \"Rating Bumpers\" button." |
|||
}, |
|||
"other": { |
|||
"description": "Add any other associated subpage that does not fit the above" |
|||
}, |
|||
"Test Cards": { |
|||
"description": "Add \"Test Cards\" button. Only use if the certain company has test cards." |
|||
}, |
|||
"VT Clocks": { |
|||
"description": "Add \"VT Clocks\" button. Only use if the certain company has VT clocks." |
|||
} |
|||
}, |
}, |
||
"description": "Add navigation links for pages pertaining to the same company to the top of a page.", |
"description": "Add navigation links for pages pertaining to the same company to the top of a page.", |
||
"paramOrder": [ |
"paramOrder": [ |
||
" |
"title", |
||
"Availability", |
|||
"Logo Variations", |
|||
"Trailers", |
"Trailers", |
||
" |
"Warning Screen Variations", |
||
" |
"Tag Variations", |
||
"Sponsor Bumper Variations", |
|||
⚫ | |||
"Availability Screens", |
|||
"Certificate of Approval Screens", |
|||
"Commentary Track Screens", |
"Commentary Track Screens", |
||
" |
"Warning Screens" |
||
"Clip-On Library", |
|||
⚫ | |||
⚫ | |||
"Test Cards", |
|||
"VT Clocks", |
|||
"other" |
|||
] |
] |
||
} |
} |
Latest revision as of 13:27, 19 August 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 |
Sponsor Bumper Variations | Sponsor Bumper Variations | Add "Sponsor Bumper Variations" button. | Unknown | optional |
Home Video Bumpers | Home Video Bumpers | no description | Unknown | optional |
Availability Screens | Availability Screens | no description | Unknown | optional |
Certificate of Approval Screens | Certificate of Approval Screens | no description | Unknown | optional |
Commentary Track Screens | Commentary Track Screens | no description | Unknown | optional |
Warning Screens | Warning Screens | no description | Unknown | optional |