Template:Tmbox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg
Adding "nocat=true" category suppression. Templates that just used {{tmbox}} in their documentation were categorised.
Ookami (talk | contribs)
m 24 revisions imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq:{{{small|}}}|yes
{{#invoke:Message box|tmbox}}<noinclude>
| {{tmbox/core
  | 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}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
</noinclude>

Latest revision as of 13:19, 4 September 2020