Template:Clear/doc

From vulcanforged WIKI
< Template:Clear
Revision as of 12:00, 28 September 2022 by Neswulf (talk | contribs) (Created page with "{{documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{tsh|-|clr}} Shorthand for <syntaxhighlight inline lang="html"><div style="clear: both;"></div></syntaxhighlight>. == TemplateData == {{TemplateData header}} <templatedata> { "description": "Clear floating block-level elements without line break", "params": { "1": { "label": "clear", "description": "CSS clear: left, right, both, none", "de...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

         | Script error: No such module "Message box".
        }}{{#if: |
         |   {{#ifexist:Template:Clear
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Shorthand for <syntaxhighlight inline lang="html">

</syntaxhighlight>.

TemplateData

{{#switch:<translate></translate> |=

{{#if:{{safesubst:#switch:
|no
|n
|false
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|1        = yes
|#default = yes

}}|{{#ifexpr:{{#if:|{{#ifeq:Template:Clear/doc|{{#switch:

|#default =  
| = 
   {{#ifeq:  | 
     | Template:{{{docpage}}}            
     |       
   }}

}}|0|1}}|not{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clear/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|<templatestyles src="Module:Navbar/styles.css"/>{{#if:1||{{#if:|{{{text}}}|<translate> This box:</translate>}} }}{{#if:1|[}}[[{{#switch:

|#default = Clear/doc 
| = 
   {{#ifeq:  | 
     | Template:Clear/doc            
     | Clear/doc      
   }}

}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:

|#default = Clear/doc 
| = 
   {{#ifeq:  | 
     | Template:Clear/doc            
     | Clear/doc      
   }}

}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:||<translate> This is the [[<tvar name=1>Special:MyLanguage/Help:TemplateData</tvar>|TemplateData]] documentation for this template used by [[<tvar name=2>Special:MyLanguage/VisualEditor</tvar>|VisualEditor]] and other tools.</translate>}}

Clear

{{#ifeq:doc|sandbox||{{#if:{{#ifexpr: (

{{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:clear/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=

 Script error: No such module "Template translation".

}} <templatedata> { "description": "Clear floating block-level elements without line break", "params": { "1": { "label": "clear", "description": "CSS clear: left, right, both, none", "default": "both", "type": "string" } } } </templatedata>