CZ:Templates: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
(→‎Creating a New Template: Add to this page.)
imported>Caesar Schinas
(→‎Table of most templates: Rearrange, reduce scrolling (move subpages to bottom, as there are so many of them, and move constabulary and editorial to bottom as only constables and editors need them)
Line 38: Line 38:


{|border="1" width="100%" cellpadding="3" cellspacing="1" style="margin: 0 0 0 0; background:#efefef; wrap=yes"  
{|border="1" width="100%" cellpadding="3" cellspacing="1" style="margin: 0 0 0 0; background:#efefef; wrap=yes"  
|width=33% valign=top|
====Infoboxes====
When creating a new infobox, please base it on the [[Template:Infobox]]. See instructions on the [[Template:Infobox]] page.<br />
Infoboxes should generally be named Template:Infobox {Subject}, and should only be created for fairly general subjects where many pages will use the infobox. Try to use an existing general infobox if you can.<br />
Remember that for one-off infoboxes the [[Template:Infobox]] can be used directly on an article page.
*Infobox series
**Based on [[Template:Infobox]]
***{{tln|Infobox}}
***{{tln|Infobox Company}}
***{{tln|Infobox Constellation}}
***{{tln|Infobox Country}}
***{{tln|Infobox Disease}}
***{{tln|Infobox Person}}
***{{tln|Infobox Programming Language}}
***{{tln|Infobox Software}}
***Music Infoboxes
****{{tln|Infobox Album}}
****{{tln|Infobox Song}}
****{{tln|Infobox Single}}
**Other (most should be either deleted or updated to use [[Template:Infobox]])
***{{tln|Infobox award}}
***{{tln|Infobox dwarf planet}}
***{{tln|Infobox Language}}
****{{tln|Infobox Language/family-color}}
****{{tln|Infobox Language/genetic2}}
****{{tln|Infobox Language/IPA notice}}
****{{tln|Infobox Language/pronunciation}}
****{{tln|Infobox Language/statesregion}}
***{{tln|Infobox NGCobject}}
***{{tln|Infobox rocket}}
***{{tln|Infobox Space mission}}
*Others
**{{tln|Chem_infobox}}
**{{tln|Chembox}}
**{{tln|Chembox_header}}
**{{tln|Chembox_simple_inorganic}}
**{{tln|Chemical}}
**{{tln|DiseaseDisorder_infobox}}
**{{tln|Elem_Infobox}}
***{{tln|Periodic}}
***{{tln|NFPA}}
**{{tln|Nutrition}}
**{{tln|Ortholog box}}
**{{tln|Philosopher}}
**{{tln|Protein}}
**{{tln|Protein2}}
**{{tln|Recipe}}
**{{tln|Taxobox}}
**{{tln|Tennis header2}}
**{{tln|Tennis player2}}
**{{tln|Virus taxon}}
|width=33% valign=top|
====Content====
*Languages
**{{tln|Ar}}
**{{tln|De}}
**{{tln|De_icon}}
**{{tln|Id icon}}
**{{tln|Lang}}
**{{tln|Lang-ka}}
**{{tln|Language indicator}}
**{{tln|Language layout}}
**{{tln|Languageicon}}
**{{tln|LangWithName}}
**{{tln|Lang-zh}}
**{{tln|Polytonic}}
*Informational
**{{tln|Lowercase}}
**{{tln|Slashtitle}}
***{{tln|SlashTitle}}  - redirect
**{{tln|WPauthor}}
***{{tln|Wpauthor}}  - redirect
***{{tln|WPAuthor}}  - redirect
**{{tln|WPauthor2}}
**{{tln|Wpcheckbox}}
**{{tln|WPimport}}
*Disambiguation
**Disambig boxes
***{{tln|Dambigbox}} - for use on articles
****{{tln|Dabbox}} - redirect
****{{tln|Otheruses}} - redirect
****{{tln|Dablink}} - custom text <!-- Non-obvious name -->
****{{tln|Redirect}} - pages with redirects '''to''' them
***{{tln|Disambig}} - for use on disambig pages
**{{tln|Dabhdr}}
**{{tln|Dabdef}}
***{{tln|DabDef}}  - redirect
*Article/redirect tagging
**{{tln|Dabredir}}  - redirect to disambiguation
***{{tln|DabRedir}}  - redirect
**{{tln|Duplicate}}  - duplicate article
**{{tln|Rename}}  - rename suggested
**{{tln|Slashredir}}
***{{tln|SlashRedir}}  - redirect
|width=33% valign=top|
====Formatting====
*Presentation control
**{{tln|-}}
**{{tln|Border}}
**{{tln|Clear}}
**{{tln|Col-begin}}
**{{tln|Col-break}}
**{{tln|Col-end}}
**{{tln|D}} - subscript
**{{tln|DS}} - small subscript
***{{tln|ds}}  - redirect
**{{tln|End_box}}
**{{tln|Lorem Ipsum}} <!-- used by Quotation -->
***{{tln|Lorem}} - redirect <!-- used by Quotation -->
**{{tln|Nbsp}}
**{{tln|Pullquote}}
**{{tln|Quotation}}
**{{tln|Start box}}
**{{tln|TOC}} (optional arg : <code>left</code> / <code>right</code>)
***<s>{{tln|TOC-left}}</s> - '''deprecated'''
***<s>{{tln|TOC-right}}</s> - '''deprecated'''
**{{tln|U}} - superscript
**{{tln|US}} - small superscript
***{{tln|us}}  - redirect
**{{tln|Unicode}}
*Data display
**{{tln|2x2-rx}}
**{{tln|AOTW_row}}
**{{tln|Bowlingscoresheet}}
**{{tln|Chinese_name}}
**{{tln|Clade}}
**{{tln|Coords}}
**{{tln|Cquote}}
**{{tln|DailyMed}}
**Dates
***{{tln|AddDays}}
***{{tln|AddDays/LeadZero}}
***{{tln|Age}}
***{{tln|Birth_date_and_age}}
***{{tln|DaysInMonth}}
***{{tln|DDMMYYYY}}
***{{tln|MONTHNAME}}
***{{tln|MONTHNUMBER}}
**{{tln|Height}}
**{{tln|IAST}}
**{{tln|IPA}}
**{{tln|IPA2}}
**{{tln|NAOTW row}}
**{{tln|Weight}}
*Timelines
**{{tln|Timeline}}
**{{tln|TLevent}}
**{{tln|Tlsubevent}}
|-
|-
|width=33% valign=top|
====Utility====
* General
**{{tln|Click}}
**{{tln|Clickurl}}
**{{tln|Done}}
**{{tln|Editintro}}  - see example here
**{{tln|Link}}
**{{tln|No}}
**{{tln|Old version}}
**{{tln|Plainlink}} - parses an external link as an internal one
**{{tln|Yes}}
**{{tln|Yes-or-no}}
* Templates
**{{tln|Allmediatemplates}}
**{{tln|Empty_template}}
**{{tln|Tl}}
**{{tln|Tln}}
**{{tln|TlDoc}}
***<s>{{tln|Newtemplate}}</s> - '''deprecated'''
***<s>{{tln|Template doc page transcluded}}</s> - '''deprecated'''
***<s>{{tln|Template doc page viewed directly}}</s> - '''deprecated'''
* Syntax
**{{tln|{{=}}}} <!-- ROTFL! -->
**{{tln|!}}
**{{tln|!!}}
**{{tln|USER}}
* Messages
**{{tln|Articles number}}
**{{tln|Contributors number}}
**{{tln|Please leave this line alone.}}
**{{tln|Supportcz}}
**{{tln|Text for simple start}}
**{{tln|Write-a-thon}}
* User
**{{tln|Unsigned}}
**{{tln|Unsigned2}}
**{{tln|UnsignedShort}}
***{{tln|Unsignedshort}}  - redirect
***{{tln|Unss}}  - redirect
**{{tln|Userplan-all}}
***{{tln|UserplanAllToWorkgroup}}
***{{tln|UserInfoDevLinks}}
**{{tln|Usertime}}
**{{tln|Usertime-text}}
**{{tln|Utc}}
|width=33% valign=top|
|width=33% valign=top|
====Reference====
====Reference====
Line 130: Line 328:
**{{tln|DSMCR}}
**{{tln|DSMCR}}
**{{tln|Planetmath}}
**{{tln|Planetmath}}
|width=33% valign=top|
|width=33% valign=top|
====Navigation====
*General
**{{tln|Alpha_cat}}
**{{tln|Archive_box}}
**{{tln|Archive_list}}
**{{tln|Archive_list_long}}
**{{tln|CategoryTOC}}
**{{tln|Further}}
**{{tln|Navbutton}}
**{{tln|Navibox}}
**{{tln|Navpop}}
**{{tln|See also}}
***{{tln|Seealso}}
**{{tln|Succession box}}
***{{tln|S-aft}}
***{{tln|S-bef}}
***{{tln|S-ttl}}
*CZ Content
**{{tln|Biology-footer}}
**{{tln|Constellations_iau}}
**{{tln|DSM_personality_disorders}}
**{{tln|Langacq}}
**{{tln|Linguistics}}
**{{tln|Metabolism}}
**{{tln|Modern constellations}}
*CZ Project information
**{{tln|Article Lists}}
**{{tln|Communication}}
**{{tln|Community}}
**{{tln|Content Policy}}
**{{tln|Editorial Council}}
**{{tln|Editor Policy}}
***{{tln|Editor Pages}}  - redirect
**{{tln|Forum locations}}
**{{tln|Getting Started}}
**{{tln|Initiatives}}
**{{tln|MainPageBodyLeft}}
**{{tln|Organization}}
**{{tln|Proposals navigation}}
**{{tln|Technical Help}}
*Outside CZ
**{{tln|MediaWiki}}
***{{tln|Mediawiki}}  - redirect
***{{tln|MW}}  - redirect
**{{tln|Wikimedia}}
***{{tln|WikiMedia}}  - redirect
***{{tln|WM}}  - redirect
**{{tln|WP}}
***{{tln|Wikipedia}}  - redirect


|-
|width=33% valign=top rowspan=2|
====Subpages====
====Subpages====
See [[Template:Subpages/doc|Subpages/doc]] for full documentation of these templates.
See [[Template:Subpages/doc|Subpages/doc]] for full documentation of these templates.
Line 201: Line 451:
****{{tln|Talk Checklist Not Approved Article}}
****{{tln|Talk Checklist Not Approved Article}}
****{{tln|To Approve Info}}
****{{tln|To Approve Info}}
|width=33% valign=top rowspan=2|
====Subpages (continued)====
*Standard subpage header/footers
*Standard subpage header/footers
<!--Added to specific subpages immediately below the tabs. Usually used to add a subpage type specific summary.-->
<!--Added to specific subpages immediately below the tabs. Usually used to add a subpage type specific summary.-->
Line 294: Line 547:
*** [[Template:Checklist blank ]]  - redirect <!-- still used by a few historical pages) -->
*** [[Template:Checklist blank ]]  - redirect <!-- still used by a few historical pages) -->
**{{tln|ToApprove}}<!-- superceded by Template:TOAPPROVE stuff -->
**{{tln|ToApprove}}<!-- superceded by Template:TOAPPROVE stuff -->
|width=33% valign=top|


====Infoboxes====
When creating a new infobox, please base it on the [[Template:Infobox]]. See instructions on the [[Template:Infobox]] page.<br />
Infoboxes should generally be named Template:Infobox {Subject}, and should only be created for fairly general subjects where many pages will use the infobox. Try to use an existing general infobox if you can.<br />
Remember that for one-off infoboxes the [[Template:Infobox]] can be used directly on an article page.
*Infobox series
**Based on [[Template:Infobox]]
***{{tln|Infobox}}
***{{tln|Infobox Company}}
***{{tln|Infobox Constellation}}
***{{tln|Infobox Country}}
***{{tln|Infobox Disease}}
***{{tln|Infobox Person}}
***{{tln|Infobox Programming Language}}
***{{tln|Infobox Software}}
***Music Infoboxes
****{{tln|Infobox Album}}
****{{tln|Infobox Song}}
****{{tln|Infobox Single}}
**Other (most should be either deleted or updated to use [[Template:Infobox]])
***{{tln|Infobox award}}
***{{tln|Infobox dwarf planet}}
***{{tln|Infobox Language}}
****{{tln|Infobox Language/family-color}}
****{{tln|Infobox Language/genetic2}}
****{{tln|Infobox Language/IPA notice}}
****{{tln|Infobox Language/pronunciation}}
****{{tln|Infobox Language/statesregion}}
***{{tln|Infobox NGCobject}}
***{{tln|Infobox rocket}}
***{{tln|Infobox Space mission}}
*Others
**{{tln|Chem_infobox}}
**{{tln|Chembox}}
**{{tln|Chembox_header}}
**{{tln|Chembox_simple_inorganic}}
**{{tln|Chemical}}
**{{tln|DiseaseDisorder_infobox}}
**{{tln|Elem_Infobox}}
***{{tln|Periodic}}
***{{tln|NFPA}}
**{{tln|Nutrition}}
**{{tln|Ortholog box}}
**{{tln|Philosopher}}
**{{tln|Protein}}
**{{tln|Protein2}}
**{{tln|Recipe}}
**{{tln|Taxobox}}
**{{tln|Tennis header2}}
**{{tln|Tennis player2}}
**{{tln|Virus taxon}}
|-
|width=33% valign=top|
|width=33% valign=top|
====Constabulary====
====Constabulary====
*Acronyms
*Acronyms
Line 367: Line 567:
**{{tln|Ewelcome}}
**{{tln|Ewelcome}}
**{{tln|Czcategories}}
**{{tln|Czcategories}}
|-
|width=33% valign=top|
|width=33% valign=top|
====Editorial====
====Editorial====
*Process
*Process
Line 442: Line 643:
**{{tln|EZarticle-open}}
**{{tln|EZarticle-open}}
**{{tln|EZarticle-open-auto}}
**{{tln|EZarticle-open-auto}}
|width=33% valign=top|
====Content====
*Languages
**{{tln|Ar}}
**{{tln|De}}
**{{tln|De_icon}}
**{{tln|Id icon}}
**{{tln|Lang}}
**{{tln|Lang-ka}}
**{{tln|Language indicator}}
**{{tln|Language layout}}
**{{tln|Languageicon}}
**{{tln|LangWithName}}
**{{tln|Lang-zh}}
**{{tln|Polytonic}}
*Informational
**{{tln|Lowercase}}
**{{tln|Slashtitle}}
***{{tln|SlashTitle}}  - redirect
**{{tln|WPauthor}}
***{{tln|Wpauthor}}  - redirect
***{{tln|WPAuthor}}  - redirect
**{{tln|WPauthor2}}
**{{tln|Wpcheckbox}}
**{{tln|WPimport}}
*Disambiguation
**Disambig boxes
***{{tln|Dambigbox}} - for use on articles
****{{tln|Dabbox}} - redirect
****{{tln|Otheruses}} - redirect
****{{tln|Dablink}} - custom text <!-- Non-obvious name -->
****{{tln|Redirect}} - pages with redirects '''to''' them
***{{tln|Disambig}} - for use on disambig pages
**{{tln|Dabhdr}}
**{{tln|Dabdef}}
***{{tln|DabDef}}  - redirect
*Article/redirect tagging
**{{tln|Dabredir}}  - redirect to disambiguation
***{{tln|DabRedir}}  - redirect
**{{tln|Duplicate}}  - duplicate article
**{{tln|Rename}}  - rename suggested
**{{tln|Slashredir}}
***{{tln|SlashRedir}}  - redirect
|-
|width=33% valign=top|


====Formatting====
*Presentation control
**{{tln|-}}
**{{tln|Border}}
**{{tln|Clear}}
**{{tln|Col-begin}}
**{{tln|Col-break}}
**{{tln|Col-end}}
**{{tln|D}} - subscript
**{{tln|DS}} - small subscript
***{{tln|ds}}  - redirect
**{{tln|End_box}}
**{{tln|Lorem Ipsum}} <!-- used by Quotation -->
***{{tln|Lorem}} - redirect <!-- used by Quotation -->
**{{tln|Nbsp}}
**{{tln|Pullquote}}
**{{tln|Quotation}}
**{{tln|Start box}}
**{{tln|TOC}} (optional arg : <code>left</code> / <code>right</code>)
***<s>{{tln|TOC-left}}</s> - '''deprecated'''
***<s>{{tln|TOC-right}}</s> - '''deprecated'''
**{{tln|U}} - superscript
**{{tln|US}} - small superscript
***{{tln|us}}  - redirect
**{{tln|Unicode}}
*Data display
**{{tln|2x2-rx}}
**{{tln|AOTW_row}}
**{{tln|Bowlingscoresheet}}
**{{tln|Chinese_name}}
**{{tln|Clade}}
**{{tln|Coords}}
**{{tln|Cquote}}
**{{tln|DailyMed}}
**Dates
***{{tln|AddDays}}
***{{tln|AddDays/LeadZero}}
***{{tln|Age}}
***{{tln|Birth_date_and_age}}
***{{tln|DaysInMonth}}
***{{tln|DDMMYYYY}}
***{{tln|MONTHNAME}}
***{{tln|MONTHNUMBER}}
**{{tln|Height}}
**{{tln|IAST}}
**{{tln|IPA}}
**{{tln|IPA2}}
**{{tln|NAOTW row}}
**{{tln|Weight}}
*Timelines
**{{tln|Timeline}}
**{{tln|TLevent}}
**{{tln|Tlsubevent}}
|width=33% valign=top|
====Navigation====
*General
**{{tln|Alpha_cat}}
**{{tln|Archive_box}}
**{{tln|Archive_list}}
**{{tln|Archive_list_long}}
**{{tln|CategoryTOC}}
**{{tln|Further}}
**{{tln|Navbutton}}
**{{tln|Navibox}}
**{{tln|Navpop}}
**{{tln|See also}}
***{{tln|Seealso}}
**{{tln|Succession box}}
***{{tln|S-aft}}
***{{tln|S-bef}}
***{{tln|S-ttl}}
*CZ Content
**{{tln|Biology-footer}}
**{{tln|Constellations_iau}}
**{{tln|DSM_personality_disorders}}
**{{tln|Langacq}}
**{{tln|Linguistics}}
**{{tln|Metabolism}}
**{{tln|Modern constellations}}
*CZ Project information
**{{tln|Article Lists}}
**{{tln|Communication}}
**{{tln|Community}}
**{{tln|Content Policy}}
**{{tln|Editorial Council}}
**{{tln|Editor Policy}}
***{{tln|Editor Pages}}  - redirect
**{{tln|Forum locations}}
**{{tln|Getting Started}}
**{{tln|Initiatives}}
**{{tln|MainPageBodyLeft}}
**{{tln|Organization}}
**{{tln|Proposals navigation}}
**{{tln|Technical Help}}
*Outside CZ
**{{tln|MediaWiki}}
***{{tln|Mediawiki}}  - redirect
***{{tln|MW}}  - redirect
**{{tln|Wikimedia}}
***{{tln|WikiMedia}}  - redirect
***{{tln|WM}}  - redirect
**{{tln|WP}}
***{{tln|Wikipedia}}  - redirect
|width=33% valign=top|
====Utility====
* General
**{{tln|Click}}
**{{tln|Clickurl}}
**{{tln|Done}}
**{{tln|Editintro}}  - see example here
**{{tln|Link}}
**{{tln|No}}
**{{tln|Old version}}
**{{tln|Plainlink}} - parses an external link as an internal one
**{{tln|Yes}}
**{{tln|Yes-or-no}}
* Templates
**{{tln|Allmediatemplates}}
**{{tln|Empty_template}}
**{{tln|Tl}}
**{{tln|Tln}}
**{{tln|TlDoc}}
***<s>{{tln|Newtemplate}}</s> - '''deprecated'''
***<s>{{tln|Template doc page transcluded}}</s> - '''deprecated'''
***<s>{{tln|Template doc page viewed directly}}</s> - '''deprecated'''
* Syntax
**{{tln|{{=}}}} <!-- ROTFL! -->
**{{tln|!}}
**{{tln|!!}}
**{{tln|USER}}
* Messages
**{{tln|Articles number}}
**{{tln|Contributors number}}
**{{tln|Please leave this line alone.}}
**{{tln|Supportcz}}
**{{tln|Text for simple start}}
**{{tln|Write-a-thon}}
* User
**{{tln|Unsigned}}
**{{tln|Unsigned2}}
**{{tln|UnsignedShort}}
***{{tln|Unsignedshort}}  - redirect
***{{tln|Unss}}  - redirect
**{{tln|Userplan-all}}
***{{tln|UserplanAllToWorkgroup}}
***{{tln|UserInfoDevLinks}}
**{{tln|Usertime}}
**{{tln|Usertime-text}}
**{{tln|Utc}}
|}
|}



Revision as of 08:08, 11 May 2009

[edit intro]

CZ:Extensions | CZ:Technical Team Workgroup

This page is used to keep a record of templates used in Citizendium. (Note: Documentation subpages, kept at "Template:{Name}/doc", are not listed.) Templates which are 'transcluded' (called, roughly) by other templates are shown as descended from the one which calls them. Redirects from alternative names are similarly noted.

Creating a New Template

To start a new template (other than an infobox), enter its name in the box below, after Template:, and then click the Create Template button.

To create a new infobox template, enter its name in the box below, after Template:Infobox_, and then click the Create Infobox Template button.
Infobox names should be in Title Case, where each word starts with a capital letter.

Then follow the instructions on the edit page.
After you have created your template, click the Create Documentation link on the new template page, and follow the instructions to document your new template.
Then, please add your template to this page, in the relevant section.


Table of most templates

Infoboxes

When creating a new infobox, please base it on the Template:Infobox. See instructions on the Template:Infobox page.
Infoboxes should generally be named Template:Infobox {Subject}, and should only be created for fairly general subjects where many pages will use the infobox. Try to use an existing general infobox if you can.
Remember that for one-off infoboxes the Template:Infobox can be used directly on an article page.

Content

Formatting

Utility

Reference

Navigation

Subpages

See Subpages/doc for full documentation of these templates.

Subpages (continued)

Constabulary

Editorial

Unsorted

  1. Template:Cc-sa-1.0 - redirect
  2. Template:Cc-sa-2.0 - redirect
  3. Template:Cc-sa-2.5 - redirect
  4. Template:Cc-sa-3.0 - redirect
  5. Template:Loadimagenotes
  6. Template:Shortcut - I think CZ policy bans these?
  7. Template:TM-image
  8. Template:Uncertain-provenance-fairuse-author
  9. Template:Uncertain-provenance-fairuse-editor
  10. Template:Uploader sign and date
  11. Template:WikEd
  12. Template:Wikimapia

Media Assets Workgroup

The below is placed with Template:Allmediatemplates. Editing a section of this area edits the template and not this page.

Template:Allmediatemplates

Task 1

Copy from lists and sort -- Completed

Task 2

Categorize Templates -- Basically done

Referenced from Namespace List

{{#tree:

}}


Citizendium Technical Help
How to edit an article | Searching | Start article with subpages
The Article Checklist | Subpage template
See also: Getting Started
How to Edit
Getting Started Organization Technical Help
Policies Content Policy