Template:Style: Difference between revisions

Undo revision 5400 by Pavel Malakhov (talk)
m (div --> p)
(Undo revision 5400 by Pavel Malakhov (talk))
Tag: Undo
 
Line 24: Line 24:
-->{{#vardefine:output|{{#var:str}}}}<!--
-->{{#vardefine:output|{{#var:str}}}}<!--
-->{{#switch: {{{allign|}}}  
-->{{#switch: {{{allign|}}}  
  | left = {{#vardefine:output|<p align=left>{{#var:str}}</p>}}
  | left = {{#vardefine:output|<div align=left>{{#var:str}}</div>}}
  | center = {{#vardefine:output|<p align=center>{{#var:str}}</p>}}
  | center = {{#vardefine:output|<div align=center>{{#var:str}}</div>}}
  | right = {{#vardefine:output|<p align=right>{{#var:str}}</p>}}
  | right = {{#vardefine:output|<div align=right>{{#var:str}}</div>}}
  | #default = {{#vardefine:output|{{#var:str}}}}
  | #default = {{#vardefine:output|{{#var:str}}}}
}}{{#var:output}}</includeonly>
}}{{#var:output}}</includeonly>