Template:Ambox and Elite Dangerous Wiki:Template index/Template namespace: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Prevent duplicate Fandom-compatible message box information
 
m Protected "Elite Dangerous Wiki:Template index/Template namespace": Pre-registration protection review: Public template catalogue ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
 
Line 1:
<div class="hatnote">This index documents local templates. Follow this wiki's local policies and guidance when using the examples.</div>
{{#if:{{{border|}}}
These templates and message boxes are used on template pages and their subpages such as their /doc pages.
|{{#invoke:Message box|ambox|type={{#switch:{{{border|}}}|red=delete|orange=content|yellow=style|#default=notice}}|text={{{type|}}}{{#if:{{{info|}}}|<br />{{{info|}}}}}|small={{{small|}}}|info=}}
 
|{{#if:{{{text|}}}
Additional templates for template pages can be found in [[:Category:Template namespace templates]] and its subcategories.
|{{#invoke:Message box|ambox}}
 
|{{#if:{{{info|}}}
{| border="1" cellspacing="0" cellpadding="3"
|{{#switch:{{{type|}}}|speedy|delete|content|style|move|protection|notice={{#invoke:Message box|ambox}}|#default={{#invoke:Message box|ambox|type=notice|text={{{type|}}}<br />{{{info|}}}|small={{{small|}}}|info=}}}}
|-
|{{#invoke:Message box|ambox}}
! What to type
}}▼
! What it makes
|-
| {{tlx|convert template}}
Add to a template that should be converted to one of the standardized templates (like 'fix', or 'infobox')
| {{convert template}}
|-
| {{tlx|documentation}}
See [[Elite Dangerous Wiki:Template documentation|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 [[Elite Dangerous Wiki:Template documentation|documentation]] [[Project:Template documentation|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, [[Elite Dangerous Wiki: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}}}}}}}}.
}}
|-
}}<noinclude>▼
| {{tlx|high-use}}
This template uses Wikipedia's article message box and accepts the former Fandom <code>border</code>, <code>type</code> and <code>info</code> parameters for compatibility with imported articles. Wikipedia source and contributor history: [https://en.wikipedia.org/wiki/Template:Ambox?action=history Template:Ambox].
To be put in the documentation for high-use templates.
| {{High-use|demo=index}}
|-
| {{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|demo=index}}
|-
| {{tlx|Use template sandbox testcases request}}
| {{Use template sandbox testcases request|demo=index}}
|-
| {{tlx|Deprecated template}}
| {{Deprecated template|old|new|nocat=true}}
|-
| {{tlx|template sandbox notice}}
Only shows when on a /sandbox subpage.
| {{Template sandbox notice
| 1 = Template:Ambox
| subpage-name = Template namespace
| category =
▲ }}
|-
| {{tlx|template test cases notice}}
Used on a /testcases subpage.
| {{Template test cases notice|1=Template:Ambox|category=|demo=index}}
|-
| {{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}}
|}
 
== For the template talk page ==
{| border="1" cellspacing="0" cellpadding="3"
|-
! What to type !! What it makes
|-
| {{tlx|permanently protected}}
| {{permanently protected|demopage=Main Page}}
▲}|}<noinclude>
{{Elite template index}}
 
[[Category:Template namespace templates| ]]
</noinclude>