AVID:Page Templates: Difference between revisions

From the Audiovisual Identity Database, the motion graphics museum

Content added Content deleted
No edit summary
(Most recent edition)
Line 5: Line 5:
__TOC__
__TOC__


==Page templates==
==Article templates==


{| class="wikitable"
{| class="wikitable"
Line 17: Line 17:
|<code><nowiki>{{About|page templates|the full tutorial guide|AVID:Tutorial Guide|other uses|Category:AVID}}</nowiki></code>
|<code><nowiki>{{About|page templates|the full tutorial guide|AVID:Tutorial Guide|other uses|Category:AVID}}</nowiki></code>
|{{About|page templates|the full tutorial guide|AVID:Tutorial Guide|other uses|Category:AVID}}
|{{About|page templates|the full tutorial guide|AVID:Tutorial Guide|other uses|Category:AVID}}
|-
|[[Template:Chronology]]
|Links articles to others related in a chronological timeline
|<code><nowiki>{{Chronology|Previous Page|Next Page|This Page}}</nowiki></code>
|{{Chronology|Previous Page|This Page|Next Page}}
|-
|[[Template:Distinguish]]
|If there are similar titled articles in which the reader may have confused with, this notice will provide a link to the other article
|<code><nowiki>{{Distinguish|AVID:Tutorial Guide}}</nowiki></code>
|{{Distinguish|AVID:Tutorial Guide}}
|-
|[[Template:Gallery]]
|Embeds a gallery containing image files, with settings for alignment, height and captions
|<code><nowiki>{{Gallery|mode=packed|height=200|File:dot.png |Example caption|File:dot.png |Example caption}}</nowiki></code>
|{{Gallery|mode=packed|height=200|File:dot.png |Example caption|File:dot.png |Example caption}}
|-
|[[Template:PageCredits]]
|Lists the main contributors and capture credits for an article
|<code><nowiki>{{PageCredits|compiled=Compooper}}</nowiki></code>
|{{PageCredits|compiled=Compooper}}
|}
|}


Line 31: Line 51:
|<code><nowiki>{{Advertisement capture}}</nowiki></code>
|<code><nowiki>{{Advertisement capture}}</nowiki></code>
|{{Advertisement capture}}
|{{Advertisement capture}}
|-
|[[Template:CC BY-NC-SA 3.0]]
|The image is licensed under CC BY-NC-SA 3.0
|<code><nowiki>{{CC BY-NC-SA 3.0}}</nowiki></code>
|{{CC BY-NC-SA 3.0}}
|-
|[[Template:Film capture]]
|The image is sourced from a copyrighted film
|<code><nowiki>{{Film capture}}</nowiki></code>
|{{Film capture}}
|-
|[[Template:Game capture]]
|The image is sourced from a copyrighted video game
|<code><nowiki>{{Game capture}}</nowiki></code>
|{{Game capture}}
|}
|}


Line 50: Line 85:
|<code><nowiki>{{Approved}}</nowiki></code><br><code><nowiki>{{Approved|reasoning}}</nowiki></code>
|<code><nowiki>{{Approved}}</nowiki></code><br><code><nowiki>{{Approved|reasoning}}</nowiki></code>
|{{Approved}}<br>{{Approved|reasoning}}
|{{Approved}}<br>{{Approved|reasoning}}
|-
|[[Template:Comment]]
|Used to signify a comment. The text within the template is customizable
|<code><nowiki>{{Comment}}</nowiki></code><br><code><nowiki>{{Comment|reasoning}}</nowiki></code>
|{{Comment}}<br>{{Comment|reasoning}}
|-
|[[Template:Confirmed]]
|Used to signify confirmation towards a proposal. The text within the template is customizable
|<code><nowiki>{{Confirmed}}</nowiki></code><br><code><nowiki>{{Confirmed|reasoning}}</nowiki></code>
|{{Confirmed}}<br>{{Confirmed|reasoning}}
|-
|[[Template:Done]]
|Used to signify that a request has been completed. The text within the template is customizable
|<code><nowiki>{{Done}}</nowiki></code><br><code><nowiki>{{Done|reasoning}}</nowiki></code>
|{{Done}}<br>{{Done|reasoning}}
|}
|}


==Maintenance templates==
==Maintenance templates==


===Boxes===
{| class="wikitable"
{| class="wikitable"
! Template
! Template
Line 64: Line 115:
|<code><nowiki>{{Archive}}</nowiki></code>
|<code><nowiki>{{Archive}}</nowiki></code>
|{{Archive}}
|{{Archive}}
|-
|[[Template:BrandNew]]
|The subject of the article has introduced a brand new logo
|<code><nowiki>{{BrandNew}}</nowiki></code>
|{{BrandNew}}
|-
|[[Template:Cleanup]]
|The article does not comply with AVID formatting guidelines and/or has typos and grammar errors
|<code><nowiki>{{Cleanup|reason}}</nowiki></code>
|{{Cleanup|reason}}
|-
|[[Template:Delete]]
|The article or image is a candidate for deletion
|<code><nowiki>{{Delete|reason}}</nowiki></code>
|{{Delete|reason}}
|-
|[[Template:DescriptionsIncomplete]]
|The article contains blank or incomplete description sections in one or more logos
|<code><nowiki>{{DescriptionsIncomplete}}</nowiki></code>
|{{DescriptionsIncomplete}}
|-
|[[Template:Draft]]
|The article is a work-in-progress draft
|<code><nowiki>{{Draft}}</nowiki></code>
|{{Draft}}
|-
|[[Template:FeaturedMedia]]
|The image was nominated for being featured on the AVID main page
|<code><nowiki>{{FeaturedMedia}}</nowiki></code>
|{{FeaturedMedia}}
|-
|[[Template:FileRename]]
|The image requires renaming to include the logo name and date, per [[AVID:Requests for Comment/Prioritize file naming and cropping|this RfC]]
|<code><nowiki>{{FileRename}}</nowiki></code>
|{{FileRename}}
|-
|[[Template:Guidance]] and [[Template:Guidance detail]]
|The article contains logos with content that requires a warning. Guidance detail requires a reasoning parameter to be visible. See the two templates and their documentations for more syntax options
|<code><nowiki>{{Guidance}}{{Guidance detail|reason=flashing}}</nowiki></code>
|{{Guidance}}<br>{{Guidance detail|reason=flashing}}
|}

===Other===
{| class="wikitable"
! Template
! Description
! Syntax
! Output
|-
|-
|[[Template:AvailabilityExamples]]
|[[Template:AvailabilityExamples]]
Line 69: Line 168:
|<code><nowiki>{{AvailabilityExamples}}</nowiki></code>
|<code><nowiki>{{AvailabilityExamples}}</nowiki></code>
|{{AvailabilityExamples}}
|{{AvailabilityExamples}}
|-
|[[Template:BetterImage]] and [[Template:BetterImages]]
|Used on images that need a better quality reupload
|<code><nowiki>{{BetterImage}}</nowiki></code><br><code><nowiki>{{BetterImages}}</nowiki></code>
|{{BetterImage}}<br>{{BetterImages}}
|}
|}


==Navigation boxes==
==Navigation boxes==
These boxes are placed at the bottom of articles to help with easier navigation between related pages. The Audiovisual Identity Database has Navboxes of almost every category of logos. An example is provided below, followed by a full list of Navbox categories.

<center>{{Huge|Example}}</center>
{{Navbox}}
{{Navbox
| name = AVID-Navbox
| title = <br>[[File:AVID Logo - White text.png|250px|center]]<br>
| bodyclass = hlist
| listclass = hlist
| state = {{{state|collapsed}}}


|group1= Tutorial Pages
|list1=
*[[AVID:Tutorial Guide]]
*[[AVID:Adding Captures]]
*[[AVID:Adding Credits]]
*[[AVID:Page Templates]]
*[[AVID:Demo 1]]
*[[AVID:Demo 2]]
*[[AVID:Demo 3]]
|group2= Policy Pages
|list2=
*[[AVID:Site Rules]]
*[[AVID:Site Staff]]
*[[AVID:User Reports]]
*[[AVID:Requests for CheckUser]]
*[[AVID:Requests for Comment]]
*[[AVID:Requests for Permissions]]
*[[AVID:Criteria for Deletion]]
}}</div>
----
{| class="wikitable"
{| class="wikitable"
! Template
! Template
! Description
! Description
! Syntax
! Syntax
! Output
|-
|-
|[[Template:Animation-Navbox]]
|[[Template:Animation-Navbox]]
|A table of articles related to the animation category
|A table of articles related to the animation category
|<code><nowiki>{{Animation-Navbox}}</nowiki></code>
|<code><nowiki>{{Animation-Navbox}}</nowiki></code>
|{{Animation-Navbox}}
|-
|-
|[[Template:Australian TV Stations]]
|[[Template:Australian TV Stations]]
|A table of articles related to local television stations based in Australia
|A table of articles related to local television stations based in Australia
|<code><nowiki>{{Australian TV Stations}}</nowiki></code>
|<code><nowiki>{{Australian TV Stations}}</nowiki></code>
|-
|{{Australian TV Stations}}
|[[Template:Free-to-air television channels in Australia]]
|A table of articles related to free-to-air television stations based in Australia
|<code><nowiki>{{Free-to-air television channels in Australia}}</nowiki></code>
|}
|}


==Text-based templates==
==Text-based templates==

{| class="wikitable"
{| class="wikitable"
! Template
! Template
Line 106: Line 242:
|<code><nowiki>{{age|1999|5|16}}</nowiki></code>
|<code><nowiki>{{age|1999|5|16}}</nowiki></code>
|{{age|1999|5|16}}
|{{age|1999|5|16}}
|}

==Miscellaneous templates==

{| class="wikitable"
! Template
! Description
! Syntax
! Output
|-
|-
|[[Template:Archive navigation]] and [[Template:Archive number]]
|[[Template:Big]]
|Displays the text at a larger font size
|Easily navigate between different archives
|<code><nowiki>{{Archive navigation}}</nowiki></code>
|<code><nowiki>{{Big|This text is big}}</nowiki></code>
|{{Archive navigation}}
|{{Big|This text is big}}
|-
|[[Template:Box]]
|Displays the text inside of a bordered box
|<code><nowiki>{{Box|This text is in a box}}</nowiki></code>
|{{Box|This text is in a box}}
|-
|[[Template:Center]]
|Displays the text as centered
|<code><nowiki>{{Center|This text is centered}}</nowiki></code>
|{{Center|This text is centered}}
|-
|[[Template:Clear]]
|Adds a blank space to the article, preventing text from flowing into the left of infobox templates
|<code><nowiki>{{Clear}}</nowiki></code>
|''{{Color|red|No suitable output}}''
|-
|[[Template:Color]]
|Colors text via HEX codes or a valid <nowiki><span></nowiki> color element
|<code><nowiki>{{Color|#da0c3f|A}}{{Color|#ffa800|V}}{{Color|#1dc82b|I}}{{Color|#0c62da|D}}</nowiki></code>
|{{Color|#da0c3f|A}}{{Color|#ffa800|V}}{{Color|#1dc82b|I}}{{Color|#0c62da|D}}
|-
|[[Template:Currentmonth]]
|Title says it all...
|<code><nowiki>{{Currentmonth}}</nowiki></code>
|{{Currentmonth}}
|-
|[[Template:Date]]
|Displays the current date in DMY format
|<code><nowiki>{{Date}}</nowiki></code>
|{{Date}}
|-
|[[Template:FULLBASEPAGENAME]]
|Displays the full name of the page you're looking at, including namespace prefixes and subpage
|<code><nowiki>{{FULLBASEPAGENAME}}</nowiki></code>
|{{FULLBASEPAGENAME}}
|-
|[[Template:FULLROOTPAGENAME]]
|Displays only the namespace prefix and parent name of the page you're looking at
|<code><nowiki>{{FULLROOTPAGENAME}}</nowiki></code>
|{{FULLROOTPAGENAME}}
|-
|[[Template:First character]]
|Displays only the first character of the text input
|<code><nowiki>{{First character|First character}}</nowiki></code>
|{{First character|First character}}
|-
|[[Template:Font]]
|Changes the font of the text to any supported font uploaded to the wiki
|<code><nowiki>{{Font|Waltograph|Walt Disney}}</nowiki></code>
|{{Font|Waltograph|Walt Disney}}
|-
|-
|[[Template:Archive top]] and [[Template:Archive bottom]]
|[[Template:Font color]]
|Changes the color of the text to any supported HEX code or a valid <nowiki><span></nowiki> color element
|Archives a discussion in its original form
|<code><nowiki>{{Archive top|reasoning and signature}}{{Archive bottom}}</nowiki></code>
|<code><nowiki>{{Font color|#da0c3f|A}}{{Font color|#ffa800|V}}{{Font color|#1dc82b|I}}{{Font color|#0c62da|D}}</nowiki></code>
|{{Font color|#da0c3f|A}}{{Font color|#ffa800|V}}{{Font color|#1dc82b|I}}{{Font color|#0c62da|D}}
|{{Archive top|reasoning and signature}}{{Archive bottom}}
|-
|-
|[[Template:Archives]]
|[[Template:Font size]]
|Changes the size of text via <nowiki><span></nowiki>
|Lists the archives of a page
|<code><nowiki>{{Archives}}</nowiki></code>
|<code><nowiki>{{Font size|1|100}}{{Font size|2|125}}{{Font size|3|150}}{{Font size|4|200}}</nowiki></code>
|{{Font size|1|100}}{{Font size|2|125}}{{Font size|3|150}}{{Font size|4|200}}
|{{Archives}}
|}
|}



Revision as of 11:11, 9 June 2023

Page Templates

In this tutorial page, we will be explaining the purposes of the most common templates that we use in pages. For easier reading, we will be splitting the page into sections.

Article templates

Template Description Syntax Output
Template:About Hatnote template which links to other pages with similar titles {{About|page templates|the full tutorial guide|AVID:Tutorial Guide|other uses|Category:AVID}}
Template:Chronology Links articles to others related in a chronological timeline {{Chronology|Previous Page|Next Page|This Page}}
Previous Page
Next Page
This Page
Template:Distinguish If there are similar titled articles in which the reader may have confused with, this notice will provide a link to the other article {{Distinguish|AVID:Tutorial Guide}}
Template:Gallery Embeds a gallery containing image files, with settings for alignment, height and captions {{Gallery|mode=packed|height=200|File:dot.png |Example caption|File:dot.png |Example caption}}
Template:PageCredits Lists the main contributors and capture credits for an article {{PageCredits|compiled=Compooper}}


Copyright templates

Template Description Syntax Output
Template:Advertisement capture The image is sourced from a copyrighted advertisement {{Advertisement capture}}
Template:CC BY-NC-SA 3.0 The image is licensed under CC BY-NC-SA 3.0 {{CC BY-NC-SA 3.0}}
Template:Film capture The image is sourced from a copyrighted film {{Film capture}}
Template:Game capture The image is sourced from a copyrighted video game {{Game capture}}

Comment templates

Template Description Syntax Output
Template:Abstain Decide not to vote towards or against a specific proposal {{Abstain}}  Abstain
Template:Approved Used to signify administrative approval for a proposal. Can also be used to denote the completion of an administrative/technical task. The text within the template is customizable {{Approved}}
{{Approved|reasoning}}
Approved
reasoning
Template:Comment Used to signify a comment. The text within the template is customizable {{Comment}}
{{Comment|reasoning}}
 Comment:
 reasoning
Template:Confirmed Used to signify confirmation towards a proposal. The text within the template is customizable {{Confirmed}}
{{Confirmed|reasoning}}
 Confirmed
 reasoning
Template:Done Used to signify that a request has been completed. The text within the template is customizable {{Done}}
{{Done|reasoning}}
 Done
 reasoning

Maintenance templates

Boxes

Template Description Syntax Output
Template:Archive The page is an archive of older material {{Archive}}
Template:BrandNew The subject of the article has introduced a brand new logo {{BrandNew}}
Template:Cleanup The article does not comply with AVID formatting guidelines and/or has typos and grammar errors {{Cleanup|reason}}
Template:Delete The article or image is a candidate for deletion {{Delete|reason}}

Template:DescriptionsIncomplete The article contains blank or incomplete description sections in one or more logos {{DescriptionsIncomplete}}
Template:Draft The article is a work-in-progress draft {{Draft}}
Template:FeaturedMedia The image was nominated for being featured on the AVID main page {{FeaturedMedia}}
Template:FileRename The image requires renaming to include the logo name and date, per this RfC {{FileRename}}
Template:Guidance and Template:Guidance detail The article contains logos with content that requires a warning. Guidance detail requires a reasoning parameter to be visible. See the two templates and their documentations for more syntax options {{Guidance}}{{Guidance detail|reason=flashing}}



Other

Template Description Syntax Output
Template:AvailabilityExamples When an Availability section needs specific sources and/or examples {{AvailabilityExamples}} [Examples?]
Template:BetterImage and Template:BetterImages Used on images that need a better quality reupload {{BetterImage}}
{{BetterImages}}
A better image of this logo is needed due to poor picture quality or other issues. You can help AVID by uploading it.


Better images of this logo are needed due to poor picture quality or other issues. You can help AVID by uploading them.


Navigation boxes

These boxes are placed at the bottom of articles to help with easier navigation between related pages. The Audiovisual Identity Database has Navboxes of almost every category of logos. An example is provided below, followed by a full list of Navbox categories.

Example

Template Description Syntax
Template:Animation-Navbox A table of articles related to the animation category {{Animation-Navbox}}
Template:Australian TV Stations A table of articles related to local television stations based in Australia {{Australian TV Stations}}
Template:Free-to-air television channels in Australia A table of articles related to free-to-air television stations based in Australia {{Free-to-air television channels in Australia}}

Text-based templates

Template Description Syntax Output
Template:Abbr When writing an abbreviation, mouse over text to reveal a tooltip containing its meaning {{abbr|AVID|Audiovisual Identity Database}} AVID
Template:Age Calculates the number of years from a specified date to today {{age|1999|5|16}} 25
Template:Big Displays the text at a larger font size {{Big|This text is big}} This text is big
Template:Box Displays the text inside of a bordered box {{Box|This text is in a box}}
This text is in a box
Template:Center Displays the text as centered {{Center|This text is centered}}
This text is centered
Template:Clear Adds a blank space to the article, preventing text from flowing into the left of infobox templates {{Clear}} No suitable output
Template:Color Colors text via HEX codes or a valid <span> color element {{Color|#da0c3f|A}}{{Color|#ffa800|V}}{{Color|#1dc82b|I}}{{Color|#0c62da|D}} AVID
Template:Currentmonth Title says it all... {{Currentmonth}} July
Template:Date Displays the current date in DMY format {{Date}} 3 July 2024
Template:FULLBASEPAGENAME Displays the full name of the page you're looking at, including namespace prefixes and subpage {{FULLBASEPAGENAME}} AVID:Page Templates
Template:FULLROOTPAGENAME Displays only the namespace prefix and parent name of the page you're looking at {{FULLROOTPAGENAME}} AVID:Page Templates
Template:First character Displays only the first character of the text input {{First character|First character}} F
Template:Font Changes the font of the text to any supported font uploaded to the wiki {{Font|Waltograph|Walt Disney}} Walt Disney
Template:Font color Changes the color of the text to any supported HEX code or a valid <span> color element {{Font color|#da0c3f|A}}{{Font color|#ffa800|V}}{{Font color|#1dc82b|I}}{{Font color|#0c62da|D}} AVID
Template:Font size Changes the size of text via <span> {{Font size|1|100}}{{Font size|2|125}}{{Font size|3|150}}{{Font size|4|200}} 1

2 3 4

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