Elite Dangerous Wiki:Template index/Template namespace: Difference between revisions
Appearance
Content deleted Content added
Adapt imported index wording and clarify external examples |
Localise template catalogue and editorial guidance for the independent wiki |
||
| Line 1: | Line 1: | ||
[[Project:Template index|Template index]] / Template namespace |
|||
<div class="hatnote">This index is adapted from Wikipedia. Examples and linked guidance may describe its processes; check that each template and its instructions apply here before using it.</div> |
|||
These templates and message boxes are used on template pages and their subpages such as their /doc pages. |
|||
Documentation and maintenance of reusable templates. |
|||
Additional templates for template pages can be found in [[:Category:Template namespace templates]] and its subcategories. |
|||
Document supported parameters and provide examples on the template or its documentation subpage. Use noinclude/includeonly appropriately so documentation and categories do not leak into article output. |
|||
{| border="1" cellspacing="0" cellpadding="3" |
|||
|- |
|||
! What to type |
|||
! What it makes |
|||
|- |
|||
| ⚫ | |||
Add to a template that should be converted to one of the standardized templates (like 'fix', or 'infobox') |
|||
| {{convert template}} |
|||
|- |
|||
| {{tlx|documentation}} |
|||
See [[Wikipedia:Template documentation]] for usage. |
|||
| {{Documentation|demospace=yes}} |
|||
|- |
|||
| {{tlx|documentation subpage}} |
|||
Only shows when on a /doc subpage. |
|||
| {{mbox |
|||
| type = notice |
|||
| image = [[File:Edit-copy green.svg|40px]] |
|||
| text = |
|||
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''' <small>(see that page for the {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template | {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }}}}}} itself)</small>.<br />It contains usage information, [[Wikipedia:Categorization|categories]], [[Help:Interlanguage links|interlanguage links]] and other content that is not part of the original {{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page | {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}. |
|||
}} |
|||
|- |
|||
| {{tlx|high-use}} |
|||
To be put in the documentation for high-use templates. |
|||
| {{High-use}} |
|||
|- |
|||
| {{tlx|used in system}} |
|||
To be put in the documentation for templates that are used in the Elite Dangerous Wiki user interface. |
|||
| {{used in system|nocat=true}} |
|||
|- |
|||
| ⚫ | |||
| {{Use template sandbox testcases request}} |
|||
|- |
|||
| {{tlx|Deprecated template}} |
|||
| {{Deprecated template|old|new|nocat=true}} |
|||
|- |
|||
| {{tlx|template sandbox notice}} |
|||
Only shows when on a /sandbox subpage. |
|||
| {{Template sandbox notice |
|||
| subpage-name = Template namespace |
|||
| category = |
|||
}} |
|||
|- |
|||
| ⚫ | |||
Used on a /testcases subpage. |
|||
| {{Template test cases notice | category = }} |
|||
|- |
|||
| {{tlx|test-mode}} |
|||
Allows a test version of a template to be seen by users that have "test-mode" enabled. All other users see the normal public version of the template being tested. |
|||
| {{Test-mode notice}} |
|||
|} |
|||
== |
== Local templates == |
||
Open a template page for its parameters and examples. These links identify existing local templates; their inclusion does not certify every imported behaviour. |
|||
{| border="1" cellspacing="0" cellpadding="3" |
|||
|- |
|||
! What to type !! What it makes |
|||
|- |
|||
| {{tlx|permanently protected}} |
|||
| {{permanently protected|demopage=Main Page}} |
|||
|}<noinclude> |
|||
{{Elite template index}} |
|||
* [[:Template:Documentation|Documentation]] - <code><nowiki>{{Documentation}}</nowiki></code> |
|||
[[Category:Template namespace templates| ]] |
|||
* [[:Template:TemplateData header|TemplateData header]] - <code><nowiki>{{TemplateData header}}</nowiki></code> |
|||
</noinclude> |
|||
* [[:Template:High-use|High-use]] - <code><nowiki>{{High-use}}</nowiki></code> |
|||
* [[:Template:Template sandbox notice|Template sandbox notice]] - <code><nowiki>{{Template sandbox notice}}</nowiki></code> |
|||
* [[:Template:Lua|Lua]] - <code><nowiki>{{Lua}}</nowiki></code> |
|||
== Additional catalogue entries == |
|||
<div class="plainlinks" style="font-size:85%; margin-top:1em;">Adapted from [https://en.wikipedia.org/wiki/Wikipedia:Template_index/Template_namespace Wikipedia]; see its [https://en.wikipedia.org/w/index.php?title=Wikipedia%3ATemplate+index%2FTemplate+namespace&action=history revision history] for contributors. Content is available under the Creative Commons Attribution-ShareAlike licence.</div> |
|||
Additional local templates linked from this subject catalogue. Check their documentation and wording before use. |
|||
* [[:Template:Convert template|convert template]] |
|||
* [[:Template:Deprecated template|Deprecated template]] |
|||
* [[:Template:Documentation subpage|documentation subpage]] |
|||
* [[:Template:Permanently protected|permanently protected]] |
|||
| ⚫ | |||
* [[:Template:Test-mode|test-mode]] |
|||
| ⚫ | |||
* [[:Template:Used in system|used in system]] |
|||
== Before saving == |
|||
* Preview the result and check any required parameters. |
|||
* Use local page titles and links. |
|||
* Explain a maintenance notice on the relevant talk page when needed. |
|||
* Do not copy example text that asserts a process or permission that does not exist here. |
|||
== Local policies and guidance == |
|||
* [[Project:Template documentation|Template documentation]] |
|||
* [[Project:Substitution|Substitution]] |
|||
| ⚫ | |||
Revision as of 09:18, 31 October 2026
Template index / Template namespace
Documentation and maintenance of reusable templates.
Document supported parameters and provide examples on the template or its documentation subpage. Use noinclude/includeonly appropriately so documentation and categories do not leak into article output.
Local templates
Open a template page for its parameters and examples. These links identify existing local templates; their inclusion does not certify every imported behaviour.
- Documentation -
{{Documentation}} - TemplateData header -
{{TemplateData header}} - High-use -
{{High-use}} - Template sandbox notice -
{{Template sandbox notice}} - Lua -
{{Lua}}
Additional catalogue entries
Additional local templates linked from this subject catalogue. Check their documentation and wording before use.
- convert template
- Deprecated template
- documentation subpage
- permanently protected
- template test cases notice
- test-mode
- Use template sandbox testcases request
- used in system
Before saving
- Preview the result and check any required parameters.
- Use local page titles and links.
- Explain a maintenance notice on the relevant talk page when needed.
- Do not copy example text that asserts a process or permission that does not exist here.