Template:PageButtons: Difference between revisions

From the Audiovisual Identity Database, the motion graphics museum

Content added Content deleted
No edit summary
No edit summary
(21 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:{{{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]]
<div class=pagebuttons>{{#if:{{{Main2|}}}|{{Button|text=Main<small> {{font size|([[{{#if:{{{Main|}}}|{{{Main}}}|{{ROOTPAGENAME}}}}]] {{!}} [[{{{Main2}}}]])</small>|70}}|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": {
"Commercial Tags": {
"title": {},
"Availability": {
"description": "Add \"Commercial Tags\" button."
"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."
},
},
"Warning Screens": {
"Trailers": {
"description": "Add \"Warning Screens\" button, exclusive for home entertainment companies."
"description": "Add \"Trailers\" button."
},
},
"Commentary Track Screens": {
"Warning Screen Variations": {
"description": "Add \"Commentary Track Screens\" button."
"description": "Add \"Warning Screen Variations\" button."
},
},
"Certificate of Approval Screens": {
"Tag Variations": {
"description": "Add \"Certificate of Approval Screens\" button, for South Africa only."
"description": "Add \"Tag Variations\" button."
},
}
"Clip-On Library": {
"description": "Add \"Clip-On Library\" button, exclusive for home entertainment companies."
},
"Availability Screens": {
"description": "Add \"Availability Screens\" button."
},
"Rating Bumpers": {
"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."
},
"Main2": {
"description": "Create a Main button with dual links. Useful for warning screens or other bumpers used by multiple companies or divisions. You will need to define the \"Main\" parameter for this to work correctly"
},
"Main": {
"description": "Manually define a link for the \"Main\" button - if not set template defaults to the name of the root page. If using Main2 you will need to set this parameter"
},
"title": {},
"Production Logo": {},
"Production Logos": {},
"Station Index": {},
"Warning Screen": {},
"Warning Screen Variations": {},
"Commercial Tag": {},
"Commentary Track Screen": {},
"Certificate of Approval Screen": {},
"Availability Screen": {},
"Disc Info Screen": {},
"Disc Info Screens": {},
"Rating Bumper": {},
"Anti-Piracy Notice": {},
"Anti-Piracy Notices": {},
"LaserDisc Side Bumper": {},
"LaserDisc Side Bumpers": {},
"Break Bumper": {},
"Break Bumpers": {},
"Closed Captioning Bumper": {},
"Closed Captioning Bumpers": {},
"Test Card": {},
"VT Clock": {},
"other2": {}
},
},
"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": [
"Main",
"title",
"Commercial Tags",
"Availability",
"Logo Variations",
"Trailers",
"Trailers",
"Logo Variations",
"Warning Screens",
"Commentary Track Screens",
"Certificate of Approval Screens",
"Clip-On Library",
"Availability Screens",
"Rating Bumpers",
"Test Cards",
"VT Clocks",
"other",
"Main2",
"title",
"Production Logo",
"Production Logos",
"Station Index",
"Warning Screen",
"Warning Screen Variations",
"Warning Screen Variations",
"Commercial Tag",
"Tag Variations"
"Commentary Track Screen",
"Certificate of Approval Screen",
"Availability Screen",
"Disc Info Screen",
"Disc Info Screens",
"Rating Bumper",
"Anti-Piracy Notice",
"Anti-Piracy Notices",
"LaserDisc Side Bumper",
"LaserDisc Side Bumpers",
"Break Bumper",
"Break Bumpers",
"Closed Captioning Bumper",
"Closed Captioning Bumpers",
"Test Card",
"VT Clock",
"other2"
]
]
}
}

Revision as of 15:54, 10 January 2024

Add navigation links for pages pertaining to the same company to the top of a page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
titletitle

no description

Unknownoptional
AvailabilityAvailability

Add "Availability" button.

Unknownoptional
Logo VariationsLogo Variations

Add "Logo Variations" button.

Unknownoptional
TrailersTrailers

Add "Trailers" button.

Unknownoptional
Warning Screen VariationsWarning Screen Variations

Add "Warning Screen Variations" button.

Unknownoptional
Tag VariationsTag Variations

Add "Tag Variations" button.

Unknownoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.