Vorlage:Article message: Unterschied zwischen den Versionen

Permanently protected template
IMT HilfeWiki - das Wiki
K (Schützte „Vorlage:Article message“ ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt)))
Zeile 1: Zeile 1:
<!-- Start your template code here. for tipps and tools for template development, please refer to our help-section --><includeonly>&#123;&#123;&#123;for template&#124;ambox&#124;label=Mitteilungsfenster&#124;multiple&#124;add button text=Hinzufügen&#124;minimum instances=0&#124;maximum instances=1&#125;&#125;&#125;
+
<!-- Start your template code here. for tipps and tools for template development, please refer to our help-section --><includeonly><nowiki>{{{for template|ambox|label=Mitteilungsfenster|multiple|add button text=Hinzufügen|minimum instances=0|maximum instances=1}}}</nowiki>
 
{| class="formtable"
 
{| class="formtable"
 
|-
 
|-
 
! Typ:<sup>*</sup> {{#info:Schlüsselwörter (tags) zur zusätzlich Verwendung bei der Indizierung der Seite}}
 
! Typ:<sup>*</sup> {{#info:Schlüsselwörter (tags) zur zusätzlich Verwendung bei der Indizierung der Seite}}
| &#123;&#123;&#123;field&#124;type&#124;input type=combobox&#124;mandatory&#124;existing values only&#124;values=speedy,content,notice&#124;mapping template=Article message/type converter&#124;class=attr_type&#125;&#125;&#125;
+
| <nowiki>{{{field|type|input type=combobox|mandatory|existing values only|values=speedy,content,notice|mapping template=Article message/type converter|class=attr_type}}}</nowiki>
 
|-
 
|-
 
! Text:<sup>*</sup> {{#info:Nachrichtentext für die Box. Kann Wiki Auszeichnugnscode enthalten.}}
 
! Text:<sup>*</sup> {{#info:Nachrichtentext für die Box. Kann Wiki Auszeichnugnscode enthalten.}}
| &#123;&#123;&#123;field&#124;text&#124;mandatory&#124;size=10&#124;input type=textarea&#124;class=attr_text&#125;&#125;&#125;
+
| <nowiki>{{{field|text|mandatory|size=10|input type=textarea|class=attr_text}}}</nowiki>
 
|}
 
|}
&#123;&#123;&#123;end template&#125;&#125;&#125;<!--Last line of your template code--></includeonly><noinclude>
+
<nowiki>{{{end template}}}</nowiki><!--Last line of your template code--></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories to the /doc subpage, not here! -->
 
<!-- Add categories to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Version vom 12. Februar 2018, 09:42 Uhr

Documentation icon Template documentation

Description[Quelltext bearbeiten]

This is a form helper template used in a form to add a message box above the main content.

Of course one could simply add the template call at the top of the wiki content. This is more for the agents' convenience.

Parameters[Quelltext bearbeiten]

none

Usage[Quelltext bearbeiten]

{{article message}}

Compiles to

{{{for template|ambox|label=Mitteilungsfenster|multiple|add button text=Hinzufügen|minimum instances=0}}}
{| class="formtable"
|-
! Typ:<sup>*</sup> <span class="smw-highlighter" data-type="6" data-state="persistent" data-title="Information" title="Schlüsselwörter (tags) zur zusätzlich Verwendung bei der Indizierung der Seite"><span class="smwtticon info"></span><span class="smwttcontent">Schlüsselwörter (tags) zur zusätzlich Verwendung bei der Indizierung der Seite</span></span>
| {{{field|type|input type=combobox|mandatory|existing values only|values=speedy,content,notice|mapping template=Article message/type converter|class=attr_type}}}
|-
! Text:<sup>*</sup> <span class="smw-highlighter" data-type="6" data-state="persistent" data-title="Information" title="Nachrichtentext für die Box. Kann Wiki Auszeichnugnscode enthalten."><span class="smwtticon info"></span><span class="smwttcontent">Nachrichtentext für die Box. Kann Wiki Auszeichnugnscode enthalten.</span></span>
| {{{field|text|mandatory|size=10|input type=textarea|class=attr_text}}}
|}
{{{end template}}}

Note[Quelltext bearbeiten]

Uses {{Article message/type converter}} as mapping template

See also[Quelltext bearbeiten]

Cookies helfen uns bei der Bereitstellung des IMT HilfeWikis. Bei der Nutzung vom IMT HilfeWiki werden die in der Datenschutzerklärung beschriebenen Cookies gespeichert.