BEFORE and AFTER
From Wikipedia
Z · "St" · c: m: de: en: eo: es: fa: fr: he: is: it: nl: ro: ru: yi: · LTR (Dev · FA · t:) · RTL (fa · he · yi) *
Contents |
→ MediaZilla:o5337 / bugzilla:05337 – "Relativity of left and right =/= {{BEFORE}} and {{AFTER}} - code portability"
[edit] images
[[image:Yes.png|30px|left|{{int:Ok}}]] [[image:Smiley.png|30px|right|{{int:Ok}}]] {{int:Ok}}
generates:
OK
note:
- 'opening' and 'closing' paranthesis and brackets are displayed as different characters in LTR (left to right) and RTL (right to left) "context".
- 'left' and 'right' are absolute topics in MediaWiki (possibly also in some browsers / possibly because of some browsers).
- This reffers both to the rendering of MediaWiki markup language (image syntax) and (probably – to be investigated) also to browser implementation / recommandations.
[edit] floating objects
<div style="border: 1px solid #AAAAAA; padding: 7px; text-align:center; float:left; margin-left:5px; margin-right:5px" > {{ns:user}}<br />{{ns:template}}<br />{{ns:help}}<br />{{ns:category}} </div> <div style="border: 1px solid #AAAAAA; padding: 7px; text-align:center; float:right; margin-left:5px; margin-right:5px" > {{ns:user}}<br />{{ns:template}}<br />{{ns:help}}<br />{{ns:category}} </div> <center>'''{{LC:{{int:Namespace}}}}'''</center>
generates:
{{ns:user}}
{{ns:template}}
{{ns:help}}
{{ns:category}}
User
Template
Help
Category
[edit] BEFORE and AFTER
template:BEFORE T
template:AFTER T
[edit] images B&A
[[image:Yes.png|30px|{{BEFORE}}|{{int:Ok}}]] [[image:Smiley.png|30px|{{AFTER}}|{{int:Ok}}]] {{int:Ok}}
generates:
OK
[edit] floating objects B&A
<div style="border: 1px solid #AAAAAA; padding: 7px; text-align:center; float:{{BEFORE}}; margin-left:5px; margin-right:5px" > {{ns:user}}<br />{{ns:template}}<br />{{ns:help}}<br />{{ns:category}} </div> <div style="border: 1px solid #AAAAAA; padding: 7px; text-align:center; float:{{AFTER}}; margin-left:5px; margin-right:5px" > {{ns:user}}<br />{{ns:template}}<br />{{ns:help}}<br />{{ns:category}} </div> <center>'''{{LC:{{int:Namespace}}}}'''</center>
generates:
{{ns:user}}
{{ns:template}}
{{ns:help}}
{{ns:category}}
User
Template
Help
Category