אונטערשייד צווישן ווערסיעס פון "מוסטער:TemplateData header"
(Added "based" parameter to other transclusion) |
ק (החלפת טקסט – "content=↵" ב־"") |
||
(3 מיטלסטע ווערסיעס פון 3 באַניצער נישט געוויזן.) | |||
שורה 1: | שורה 1: | ||
<div class="templatedata-header">{{#if:{{{ | <noinclude> | ||
<languages/> | |||
-->{{ | <onlyinclude>{{#switch:<translate></translate> | ||
|= | |||
--> | <div class="templatedata-header"><!-- | ||
-->{{#if:{{yesno|{{{editlinks|}}}}}<!-- | |||
-->|{{#ifexpr:<!-- | |||
-->{{#if:{{{docpage|}}}<!-- | |||
--> | -->|{{#ifeq:{{FULLPAGENAME}}|{{transclude|{{{docpage}}}}}|0|1}}<!-- | ||
-->|not{{IsDocSubpage|false=0}}<!-- | |||
--> | -->}}<!-- | ||
-->|{{Navbar|{{{docpage|{{BASEPAGENAME}}/doc}}}|plain=1|brackets=1|style=float:{{dir|{{PAGELANGUAGE}}|left|right}};}}<!-- | |||
-->}}<!-- | |||
-->}} | -->}} | ||
{{#if:{{{noheader|}}}||<translate><!--T:1--> This is the [[<tvar name=1>Special:MyLanguage/Help:TemplateData</tvar>|TemplateData]] documentation for this template used by [[<tvar name=2>Special:MyLanguage/VisualEditor</tvar>|VisualEditor]] and other tools.</translate>}} | |||
''' | '''{{{1|{{BASEPAGENAME}}}}}''' | ||
</div><includeonly><!-- | </div><includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|<!-- | ||
-->|{{#if:{{IsDocSubpage|false=}}<!-- | |||
-->|[[Category:TemplateData documentation{{#translation:}}]]<!-- | |||
-->|[[Category:Templates using TemplateData{{#translation:}}]]<!-- | |||
-->}}<!-- | |||
-->}}</includeonly> | |||
| #default= | |||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:TemplateData header|noshift=1|uselang={{#if:{{pagelang}}|{{pagelang}}|{{int:lang}}}}}} | |||
}}</onlyinclude> | |||
{{Documentation| | |||
Inserts a brief header for the template data section. Adds the /doc subpage to [[:Category:TemplateData documentation{{#translation:}}]] and the template page to [[:Category:Templates using TemplateData{{#translation:}}]]. | |||
== Usage == | |||
{{#tag:syntaxhighlight| | |||
==TemplateData== or ==Parameters== or ==Usage== | |||
{{((}}TemplateData header{{))}} | |||
{{^(}}templatedata{{)^}}{ | |||
... | |||
}} | }{{^(}}/templatedata{{)^}} | ||
|lang=html | |||
}} | |||
}}}}</ | 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>]]. | ||
<dl><dd> | |||
{{TemplateData header|Template name}} | |||
</dd></dl> | |||
Use <code><nowiki>{{TemplateData header|noheader=1}}</nowiki></code> to omit the first sentence of the header text. | |||
<dl><dd> | |||
{{TemplateData header|noheader=1}} | |||
</dd></dl> | |||
==Parameters== | |||
{{TemplateData header/doc}} | |||
}} | |||
</noinclude> |
יעצטיגע רעוויזיע זינט 05:20, 13 פעברואר 2023
<languages/>
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData header
[[Category:Templates using TemplateData{{#translation:}}]]
די אינפארמאציע אונטן איז אריבערגעשלאסן פון [[מוסטער: Inserts a brief header for the template data section. Adds the /doc subpage to [[:Category:TemplateData documentation{{#translation:}}]] and the template page to [[:Category:Templates using TemplateData{{#translation:}}]].
Usage
==TemplateData== or ==Parameters== or ==Usage==
{{TemplateData header}}
[[:מוסטער:^(]]templatedata[[:מוסטער:)^]]{
...
}[[:מוסטער:^(]]/templatedata[[:מוסטער:)^]]
Use {{TemplateData header|Template name}}
to display a name for the template other than the default, which is {{BASEPAGENAME}}.
-
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Template name
Use {{TemplateData header|noheader=1}}
to omit the first sentence of the header text.
-
TemplateData header
Parameters
מוסטער:TemplateData header/doc
]].
{{ Inserts a brief header for the template data section. Adds the /doc subpage to [[:Category:TemplateData documentation{{#translation:}}]] and the template page to [[:Category:Templates using TemplateData{{#translation:}}]].
Usage
==TemplateData== or ==Parameters== or ==Usage==
{{TemplateData header}}
[[:מוסטער:^(]]templatedata[[:מוסטער:)^]]{
...
}[[:מוסטער:^(]]/templatedata[[:מוסטער:)^]]
Use {{TemplateData header|Template name}}
to display a name for the template other than the default, which is {{BASEPAGENAME}}.
-
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Template name
Use {{TemplateData header|noheader=1}}
to omit the first sentence of the header text.
-
TemplateData header
Parameters
מוסטער:TemplateData header/doc
}}