Template:Clear/doc: Difference between revisions
Richardpruen (talk | contribs) m 1 revision imported |
imported>--WikiUser1234945-- m Reverted edits by 174.126.250.215 (talk) (HG) (3.4.12) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please add categories to the /doc subpage, and interwikis at Wikidata (see Wikipedia:Wikidata) --> | <!-- Please add categories to the /doc subpage, and interwikis at Wikidata (see Wikipedia:Wikidata) --> | ||
{{high-use}} | |||
{{Nosubst|The markup provided will be confusing to many editors, and as this template provides documentation for itself, there is little justification for substitution.}} | {{Nosubst|The markup provided will be confusing to many editors, and as this template provides documentation for itself, there is little justification for substitution.}} | ||
{{#ifeq:{{FULLPAGENAME}}|Template:Clear|{{Template shortcut|-| | {{#ifeq:{{FULLPAGENAME}}|Template:Clear|{{Template shortcut|-||Clr}}}} | ||
== Description == | == Description == | ||
Line 22: | Line 21: | ||
{{Lorem ipsum}} | {{Lorem ipsum}} | ||
==== New section without template ==== | ==== New section without the template before ==== | ||
Without {{ | Without the code {{tlc|clear}}, this section starts at the right of the image. | ||
{{clear}} | {{clear}} | ||
</div> | </div> | ||
Line 34: | Line 33: | ||
{{clear}} | {{clear}} | ||
==== New section with template ==== | ==== New section with the template before ==== | ||
{{ | Here the code {{tlc|clear}} is placed before this section, so it appears below the image. | ||
</div> | </div> | ||
Line 47: | Line 46: | ||
"description": "Can be 'right' or 'left' so content is delayed until just the right or left column is complete. The default clears both columns.", | "description": "Can be 'right' or 'left' so content is delayed until just the right or left column is complete. The default clears both columns.", | ||
"type": "line", | "type": "line", | ||
"required": false | "required": false, | ||
"suggestedvalues": [ | |||
"right", | |||
"left", | |||
"both" | |||
] | |||
} | } | ||
}, | }, | ||
Line 56: | Line 60: | ||
* {{tl|Clear left}} (implemented using this template) | * {{tl|Clear left}} (implemented using this template) | ||
* {{tl|Clear right}} (implemented using this template) | * {{tl|Clear right}} (implemented using this template) | ||
* {{tl|Clear2}} | * {{tl|Clear2}} (derived from this template) | ||
* {{tl|Break}} | |||
* {{tl|Float}} | * {{tl|Float}} | ||
* {{tl|Stack}} | * {{tl|Stack}} |