Help:List of COLLADA wiki templates: Difference between revisions
→Formatting templates: more |
organizing page to match new template categories, part 1 |
||
Line 1: | Line 1: | ||
This page contains details of '''[[Help:Wiki template|Wiki template]]s''' currently defined in this COLLADA wiki. | This page contains details of '''[[Help:Wiki template|Wiki template]]s''' currently defined in this COLLADA wiki. | ||
==User templates== | |||
Any template can be used by anyone, but these are more likely to be of general use to a general user. | |||
== | ===Message templates=== | ||
{| border=1 cellspacing=0 cellpadding=3 align=center | {| border=1 cellspacing=0 cellpadding=3 align=center | ||
|- | |- | ||
Line 44: | Line 17: | ||
|} | |} | ||
==Formatting templates== | ===Formatting templates=== | ||
{| border=1 cellspacing=0 cellpadding=3 align=center | {| border=1 cellspacing=0 cellpadding=3 align=center | ||
|- | |- | ||
Line 66: | Line 39: | ||
|} | |} | ||
==System administration templates== | ===Extensions templates=== | ||
{| border=1 cellspacing=0 cellpadding=3 align=center | |||
|- | |||
!width=20%| What to type !!width=55%| What it produces !! Where to put it | |||
|- | |||
| {{tplinkarg|Extension|arg=''various arguments''}} | |||
| <div>{{Extensions}}</div> ''note see the template itself for details about the arguments'' | |||
| ''Top''<br />of each article that describes a COLLADA [[extension]]. | |||
|- | |||
| {{tplinkarg|Extensions|arg=n/a }} | |||
| <div>{{Extensions}}</div> obsolete | |||
| Use Template:Extension | |||
|- | |||
| {{tplink|Extensions header|arg=''none''}} | |||
| <div>{{Extensions header}}</div> | |||
| ''Top''<br />of articles that summarize or collect info on extensions. | |||
|} | |||
==Site templates== | |||
These templates are used in the construction of other templates, for more specific system administration or page construction, or are otherwise less likely to be of use to a general user. | |||
===General navigation templates=== | |||
{| border=1 cellspacing=0 cellpadding=3 align=center | |||
|- | |||
!width=20%| What to type !!width=55%| What it produces !! Where to put it | |||
|- | |||
| {{tplinkarg|addtocategory|arg = ''description''}} | |||
| <div>{{addtocategory}}</div> | |||
----''Note: this template fills in name of category, not "COLLADA wiki templates"'' | |||
| ''Top''<br />of Category pages. | |||
|- | |||
| {{tplink|addimagetocategory}} | |||
| <div>{{addimagetocategory}}</div> | |||
----''Note: this template fills in name of category, not "COLLADA wiki templates"'' | |||
| ''Top''<br />of image Category pages. | |||
|- | |||
| {{tplink|disambig}} | |||
| <div>{{disambig}}</div> | |||
----''Note: this template also places the article in [[:Category:Disambiguation]]'' | |||
| ''Bottom''<br />of articles that disambiguate terms that could have various meanings ([[disambiguation]] pages). | |||
|- | |||
|{{tplinkarg|portalheader|arg = various arguments }} | |||
| <div>{{portalheader}}</div> | |||
| Top of [[portal]] pages. | |||
|- | |||
|valign="top"| {{tplink|helpTOC}} | |||
| <div>{{helpTOC}}</div> | |||
|valign="top"| ''Top'' of Help articles. | |||
|} | |||
===System administration templates=== | |||
{| border=1 cellspacing=0 cellpadding=3 align=center | {| border=1 cellspacing=0 cellpadding=3 align=center | ||
Line 77: | Line 100: | ||
|} | |} | ||
==Tutorial templates== | ===Tutorial templates=== | ||
{| border=1 cellspacing=0 cellpadding=3 align=center | {| border=1 cellspacing=0 cellpadding=3 align=center | ||
|- | |- | ||
Line 107: | Line 130: | ||
|} | |} | ||
==Templates for constructing templates and similar underpinnings== | ===Templates for constructing templates and similar underpinnings=== | ||
{| border=1 cellspacing=0 cellpadding=3 align=center | {| border=1 cellspacing=0 cellpadding=3 align=center | ||
|- | |- | ||
Line 125: | Line 148: | ||
|} | |} | ||
= | ===For FAQ and help desk pages=== | ||
==For FAQ and help desk pages== | |||
And other places where you want to control people adding a single heading and (usually) a single paragraph or so to the article. | And other places where you want to control people adding a single heading and (usually) a single paragraph or so to the article. | ||
{| border=1 cellspacing=0 cellpadding=3 align=center | {| border=1 cellspacing=0 cellpadding=3 align=center |
Revision as of 18:56, 23 February 2009
This page contains details of Wiki templates currently defined in this COLLADA wiki.
User templates
Any template can be used by anyone, but these are more likely to be of general use to a general user.
Message templates
What to type | What it produces | Where to put it |
---|---|---|
{{stub}} |
This article is a stub; it could use more information. Please help by supplying sufficient info for purposes of this wiki.
|
Bottom of articles that need more info. |
{{editor | what=what needs attention }} | ((EDITOR: This page needs the following improvement: what needs attention )) |
Inside articles at location where an editor needs to address an issue. |
Formatting templates
What to type | What it produces | Where to put it | |
---|---|---|---|
{{highlight | text to highlight }} | text to highlight
|
Enclose text to highlight as an argument | |
{{notice | text to format as notice }} |
|
Enclose text (doesn't work in all contexts because it's a table) | |
{{prettytable}} |
border="2" cellspacing="0" cellpadding="4" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:95%; empty-cells:show;"
|
On first line of table definition | |
{{=}} |
=
|
Inside templates where an = character is needed |
Extensions templates
What to type | What it produces | Where to put it | ||||
---|---|---|---|---|---|---|
{{Extension | various arguments }} |
|
Top of each article that describes a COLLADA extension. | ||||
{{Extensions | n/a }} |
|
Use Template:Extension | ||||
|
Top of articles that summarize or collect info on extensions. |
Site templates
These templates are used in the construction of other templates, for more specific system administration or page construction, or are otherwise less likely to be of use to a general user.
What to type | What it produces | Where to put it |
---|---|---|
{{addtocategory | description }} | The following is an automatically collected, alphabetic list of subcategories and articles that have been flagged as pertaining to this category. To add an article to this list, add the following to the end of the article: [[Help:List of COLLADA wiki templates]] Note: this template fills in name of category, not "COLLADA wiki templates" |
Top of Category pages. |
To add an image to this list, just add the following to the end of the image's description page: [[Help:List of COLLADA wiki templates]] Note: this template fills in name of category, not "COLLADA wiki templates" |
Top of image Category pages. | |
{{disambig}} |
Note: this template also places the article in Category:Disambiguation |
Bottom of articles that disambiguate terms that could have various meanings (disambiguation pages). |
{{portalheader | various arguments }} | Welcome to the {{{title}}} portal
{{{description}}} Portals: • Products • Extensions • Tools • Conditioners • COLLADA DOM • Coherency Test • Tech topics • Tutorials |
Top of portal pages. |
{{helpTOC}} |
Top of Help articles. |
System administration templates
What to type | What it produces | Where to put it |
---|---|---|
{{delete | reason=why to delete }} | Sysop, please delete this page. Reason: why to delete
|
Top of articles that you'd like a sysop to delete. |
Tutorial templates
What to type | What it produces | Where to put it | |||
---|---|---|---|---|---|
{{DOM navigation}} |
|
Bottom of articles that are part of the Portal:COLLADA DOM. | |||
{{ClassElement}} |
See template documentation
|
When used with "subst:"prefix ({{subst:ClassElement}}), fills in outline and sample text to get started on an article about a class or an element. | |||
{{TutorialSample}} |
See template documentation
|
When used with "subst:"prefix ({{subst:TutorialSample}}), fills in outline and sample text to get started on a how-to (tutorial) article . | |||
{{Domsub}} |
See template documentation
|
Note: This template is probably obsolete. When used with "subst:"prefix ({{subst:Domsub}}), fills in outline and sample text to get started on an article about a subsystem. | |||
{{DOMversion | {{{arg}}} }} |
|
Put at top of DOM tutorial articles to indicate what version the page is current for. | |||
{{Tutorials}} |
|
Top of tutorial article or first in related set of articles forming a single tutorial. |
Templates for constructing templates and similar underpinnings
What to type | What it produces | Where to put it | |||
---|---|---|---|---|---|
{{NavigationBox | various arguments }} |
|
General format for creating navigation boxes such as Template:DOM navigation | |||
{{Tplink}} |
{{[[:Template:|]]}} |
Used in this article for displaying template info for templates with no arguments | |||
{{Tplinkarg | arg=argname=valuedescription }} | {{[[:Template:|]] | arg=argname=valuedescription }}
|
Used in this article for displaying template info for templates with one argument (for more than one, say "various arguments" and refer to template documentation). |
For FAQ and help desk pages
And other places where you want to control people adding a single heading and (usually) a single paragraph or so to the article.
What to type | What it produces | Where to put it |
---|---|---|
{{addnewsection | actiontext=what user achieves }} | Now you may
. |
In FAQ or help desk or similar article AFTER instructions on how you want people to add new sections/questions. "what user achieves" might be "ask a question", "add a new FAQ", etc. |
{{howtoask}} |
How to ask a question
|
Use before addnewsection in help desk type articles. |
{{howtoanswer}} |
How to answer a question
|
Use after addnewsection in help desk type articles. |
{{howtopost}} |
How to post a new FAQ (question and answer) using the following link
|
(Don't use at the moment...see following) |
{{howtopostfaq}} |
You can post a new question with an answer using the following link:
|
Use before addnewsection in FAQ type articles. |