Vorlage:Tmbox: Unterschied zwischen den Versionen

K
30 Versionen von wikivoyage:Vorlage:Tmbox importiert
imported>Davidgothberg
(Adding "nocat=true" category suppression. Templates that just used {{tmbox}} in their documentation were categorised.)
K (30 Versionen von wikivoyage:Vorlage:Tmbox importiert)
 
(8 dazwischenliegende Versionen von 5 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{#ifeq:{{{small|}}}|yes
<includeonly>{{#invoke:Message box|tmbox}}</includeonly><noinclude>{{Dokumentation}}
| {{tmbox/core
<!--Kategorien für diese Vorlage bitte auf die Unterseite /Doku eintragen, Interwiki-Links in Wikidata!--></noinclude>
  | small = yes
  | type  = {{{type|}}}
  | image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }}
  | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
  | style = {{{style|}}}
  | class = {{{class|}}}
  | textstyle = {{{textstyle|}}}
  | text  = {{#if:{{{smalltext|}}}| {{{smalltext}}} | {{{text}}} }}
  }}
| {{tmbox/core
  | type  = {{{type|}}}
  | image = {{{image|}}}
  | imageright = {{{imageright|}}}
  | style = {{{style|}}}
  | class = {{{class|}}}
  | textstyle = {{{textstyle|}}}
  | text  = {{{text}}}
  }}
}}<!--
 
List all templates that use tmbox in "Category:Talk message boxes":
--><includeonly>{{#ifeq:{{NAMESPACE}}|Template
| {{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}
  |  <!--We are on a rootpage, not a /doc or /sandbox page-->
    {{#ifeq:{{{nocat|}}}|true
    |  <!--Don't categorise-->
    | [[Category:Talk message boxes]]
    }}
  }}
}}</includeonly><!--
 
--><noinclude>
 
{{pp-template}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>