Template:PageButtons: Difference between revisions
Just in case, per seemingly passed RFC. Revert if you have a good reason to. |
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 |
||
Line 1: | Line 1: | ||
<templatestyles src= |
<templatestyles src=PageButtons/styles.css /> |
||
<div class=pagebuttons>{{Clickable button 2|{{{title|{{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]] |
<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> |
||
{ |
{ |
||
Line 57: | Line 57: | ||
] |
] |
||
} |
} |
||
</templatedata> |
</templatedata></noinclude> |
Revision as of 01:26, 22 August 2023
Add navigation links for pages pertaining to the same company to the top of a page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Commercial Tags | Commercial Tags | Add "Commercial Tags" button. | Unknown | optional |
Trailers | Trailers | Add "Trailers" link next to "Logo Variations". Only use if the "Logo Variations" parameter is also enabled. | Unknown | optional |
Logo Variations | Logo Variations | Add "Logo Variations" button. | Unknown | optional |
Warning Screens | Warning Screens | Add "Warning Screens" button, exclusive for home entertainment companies. | Unknown | optional |
Commentary Track Screens | Commentary Track Screens | Add "Commentary Track Screens" button. | Unknown | optional |
Certificate of Approval Screens | Certificate of Approval Screens | Add "Certificate of Approval Screens" button, for South Africa only. | Unknown | optional |
Clip-On Library | Clip-On Library | Add "Clip-On Library" button, exclusive for home entertainment companies. | Unknown | optional |
Availability Screens | Availability Screens | Add "Availability Screens" button. | Unknown | optional |
Rating Bumpers | Rating Bumpers | Add "Rating Bumpers" button. | Unknown | optional |
Test Cards | Test Cards | Add "Test Cards" button. Only use if the certain company has test cards. | Unknown | optional |
VT Clocks | VT Clocks | Add "VT Clocks" button. Only use if the certain company has VT clocks. | Unknown | optional |
other | other | Add any other associated subpage that does not fit the above | Unknown | optional |