Difference between revisions of "Template:TemplateDataHeader/doc"

From Second Life Wiki
Jump to navigation Jump to search
(<syntaxhighlight> instead of <templatedata>, which isn't supported on the SL Wiki)
(Fixed link to Wikipedia)
 
Line 14: Line 14:
</pre>
</pre>


Use <code><nowiki>{{TemplateData header|Template name}}</nowiki></code> to display a name for the template other than the default, which is [[Help:Magic_words#Variables|<nowiki>{{BASEPAGENAME}}</nowiki>]]. Do ''not'' add namespace <code>Template:</code>
Use <code><nowiki>{{TemplateData header|Template name}}</nowiki></code> to display a name for the template other than the default, which is {{Wikipedia|Help:Magic_words#Variables|<nowiki>{{BASEPAGENAME}}</nowiki>}}. Do ''not'' add namespace <code>Template:</code>
:{|
:{|
|{{TemplateData header|Template name}}
|{{TemplateData header|Template name}}

Latest revision as of 17:55, 15 September 2022

The {{TemplateData header}} template inserts a brief header for the template data section, and adds the page to Category:Templates using TemplateData.

Usage

==TemplateData==
{{TemplateData header}}
<templatedata>{
...
}</templatedata>

Note: Section headers of ==Parameters== or ==Usage== may also be used.

Use {{TemplateData header|Template name}} to display a name for the template other than the default, which is "Wikipedia logo"{{BASEPAGENAME}}. Do not add namespace Template:

This is the "Wikipedia logo"TemplateData for this template used by TemplateWizard, "Wikipedia logo"VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Template name

Use {{TemplateData header|nolink=1}} to omit the wikilink from the word "TemplateData" in the header text, for instances where it is already linked outside this template.

This is the TemplateData for this template used by TemplateWizard, "Wikipedia logo"VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for TemplateDataHeader

Use {{TemplateData header|noheader=1}} to omit the first sentence of the header text.

Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for TemplateDataHeader

Example

Using a collapse box for [[Template:User]]:

This article has been classified as a stub, you can help the Second Life Wiki by expanding this article and adding more information.


This place deliberately left blank.

Parameters

This is the "Wikipedia logo"TemplateData for this template used by TemplateWizard, "Wikipedia logo"VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for TemplateDataHeader

{
  "description": "Inserts a brief header for the template data section. Adds the page to [[Category:Templates using TemplateData]]",
  "params": {
    "1": {
      "label": "Template name",
      "description": "Used to display a name for the template other than the default, which is {{BASEPAGENAME}}.",
      "type": "string",
      "required": false
    },
    "nolink": {
      "label": "No link",
      "description": "Assigning any value to this parameter will omit cause the template to omit the wikilink from the word \"TemplateData\" in the header text, for instances where it is already linked outside this template.",
      "type": "string",
      "required": false
    },
    "noheader": {
      "label": "No header",
      "description": "Assigning any value to this parameter will cause the template to omit the first sentence of the header text.",
      "type": "string",
      "required": false
    }
  }
}
<!--</templatedata>-->

Tracking category

  • [[:Category:
  • Category:P*
  • Category:Pa*
  • Category:Pag*
  • Category:Page*
  • Category:Pages*
  • Category:Pages *
  • Category:Pages u*
  • Category:Pages us*
  • Category:Pages usi*
  • Category:Pages usin*
  • Category:Pages using*
  • Category:Pages using *
  • Category:Pages using T*
  • Category:Pages using Te*
  • Category:Pages using Tem*
  • Category:Pages using Temp*
  • Category:Pages using Templ*
  • Category:Pages using Templa*
  • Category:Pages using Templat*
  • Category:Pages using Template*
  • Category:Pages using TemplateD*
  • Category:Pages using TemplateDa*
  • Category:Pages using TemplateDat*
  • Category:Pages using TemplateData*
  • Category:Pages using TemplateData *
  • Category:Pages using TemplateData h*
  • Category:Pages using TemplateData he*
  • Category:Pages using TemplateData hea*
  • Category:Pages using TemplateData head*
  • Category:Pages using TemplateData heade*
  • Category:Pages using TemplateData header*
  • Category:Pages using TemplateData header *
  • Category:Pages using TemplateData header w*
  • Category:Pages using TemplateData header wi*
  • Category:Pages using TemplateData header wit*
  • Category:Pages using TemplateData header with*
  • Category:Pages using TemplateData header with *
  • Category:Pages using TemplateData header with u*
  • Category:Pages using TemplateData header with un*
  • Category:Pages using TemplateData header with unk*
  • Category:Pages using TemplateData header with unkn*Template:FormattingError|Category:
  • Category:P*
  • Category:Pa*
  • Category:Pag*
  • Category:Page*
  • Category:Pages*
  • Category:Pages *
  • Category:Pages u*
  • Category:Pages us*
  • Category:Pages usi*
  • Category:Pages usin*
  • Category:Pages using*
  • Category:Pages using *
  • Category:Pages using T*
  • Category:Pages using Te*
  • Category:Pages using Tem*
  • Category:Pages using Temp*
  • Category:Pages using Templ*
  • Category:Pages using Templa*
  • Category:Pages using Templat*
  • Category:Pages using Template*
  • Category:Pages using TemplateD*
  • Category:Pages using TemplateDa*
  • Category:Pages using TemplateDat*
  • Category:Pages using TemplateData*
  • Category:Pages using TemplateData *
  • Category:Pages using TemplateData h*
  • Category:Pages using TemplateData he*
  • Category:Pages using TemplateData hea*
  • Category:Pages using TemplateData head*
  • Category:Pages using TemplateData heade*
  • Category:Pages using TemplateData header*
  • Category:Pages using TemplateData header *
  • Category:Pages using TemplateData header w*
  • Category:Pages using TemplateData header wi*
  • Category:Pages using TemplateData header wit*
  • Category:Pages using TemplateData header with*
  • Category:Pages using TemplateData header with *
  • Category:Pages using TemplateData header with u*
  • Category:Pages using TemplateData header with un*
  • Category:Pages using TemplateData header with unk*
  • Category:Pages using TemplateData header with unkn*Template:FormattingError]] (0)

See also

  • [[:Category:
  • Category:T*
  • Category:Te*
  • Category:Tem*
  • Category:Temp*
  • Category:Templ*
  • Category:Templa*
  • Category:Templat*
  • Category:Template*
  • Category:Templates*
  • Category:Templates *
  • Category:Templates u*
  • Category:Templates us*
  • Category:Templates usi*
  • Category:Templates usin*
  • Category:Templates using*
  • Category:Templates using *
  • Category:Templates using T*
  • Category:Templates using Te*
  • Category:Templates using Tem*
  • Category:Templates using Temp*
  • Category:Templates using Templ*
  • Category:Templates using Templa*
  • Category:Templates using Templat*
  • Category:Templates using Template*
  • Category:Templates using TemplateD*
  • Category:Templates using TemplateDa*
  • Category:Templates using TemplateDat*
  • Category:Templates using TemplateData*|Category:
  • Category:T*
  • Category:Te*
  • Category:Tem*
  • Category:Temp*
  • Category:Templ*
  • Category:Templa*
  • Category:Templat*
  • Category:Template*
  • Category:Templates*
  • Category:Templates *
  • Category:Templates u*
  • Category:Templates us*
  • Category:Templates usi*
  • Category:Templates usin*
  • Category:Templates using*
  • Category:Templates using *
  • Category:Templates using T*
  • Category:Templates using Te*
  • Category:Templates using Tem*
  • Category:Templates using Temp*
  • Category:Templates using Templ*
  • Category:Templates using Templa*
  • Category:Templates using Templat*
  • Category:Templates using Template*
  • Category:Templates using TemplateD*
  • Category:Templates using TemplateDa*
  • Category:Templates using TemplateDat*
  • Category:Templates using TemplateData*]] (0)
  • {{Crude TemplateData}}
  • {{Template parameter usage}}