Template:Tmbox: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>WOSlinker
remove {{pp-template}}
meta>Mr. Stradivarius
switch to Lua version
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>
{{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>

Revision as of 12:46, 20 October 2013