Jump to content

Template:Style: Difference between revisions

m
div --> p
No edit summary
m (div --> p)
Line 24: Line 24:
-->{{#vardefine:output|{{#var:str}}}}<!--
-->{{#vardefine:output|{{#var:str}}}}<!--
-->{{#switch: {{{allign|}}}  
-->{{#switch: {{{allign|}}}  
  | left = {{#vardefine:output|<div align=left>{{#var:str}}</div>}}
  | left = {{#vardefine:output|<p align=left>{{#var:str}}</p>}}
  | center = {{#vardefine:output|<div align=center>{{#var:str}}</div>}}
  | center = {{#vardefine:output|<p align=center>{{#var:str}}</p>}}
  | right = {{#vardefine:output|<div align=right>{{#var:str}}</div>}}
  | right = {{#vardefine:output|<p align=right>{{#var:str}}</p>}}
  | #default = {{#vardefine:output|{{#var:str}}}}
  | #default = {{#vardefine:output|{{#var:str}}}}
}}{{#var:output}}</includeonly>
}}{{#var:output}}</includeonly>