(Die Seite wurde neu angelegt: „{{Documentation subpage}} <!-- Categories go at the bottom of this page. --> == Description == This is a form helper template used in a form to add a message b…“) |
(→Usage) |
||
Zeile 10: | Zeile 10: | ||
== Usage == | == Usage == | ||
− | + | <pre> | |
{{article message}} | {{article message}} | ||
− | </ | + | </pre> |
+ | |||
+ | Compiles to | ||
+ | {{code|lang=xml|3=no|code= | ||
+ | {{article message}} | ||
+ | }} | ||
== Note == | == Note == | ||
Zeile 21: | Zeile 26: | ||
* {{tl|Search engine optimization}} | * {{tl|Search engine optimization}} | ||
− | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | + | [[Category:Hilfewiki templates]]<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
{{#ifeq:{{SUBPAGENAME}}|sandbox | | | {{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
<!-- ADD CATEGORIES AFTER THIS LINE --> | <!-- ADD CATEGORIES AFTER THIS LINE --> |
Aktuelle Version vom 30. September 2016, 11:12 Uhr
This is a documentation subpage for Vorlage:Article message. It contains usage information, categories and other content that is not part of the original vorlage page. |
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]
- {{QA marker}}
- {{Search engine optimization}}