Difference between revisions of "Template:Letter"

From EncyclopAtys

Jump to: navigation, search
m
m
Line 1: Line 1:
<div align="{{#if: {{{align|}}} | {{{align}}} | center }}">
+
<onlyinclude><div align="{{#if: {{{align|}}} | {{{align}}} | center }}">
 
<div style="text-align:left; width:{{#if: {{{width|}}} | {{{width}}} | 50% }}; padding:{{#if: {{{padding|}}} | {{{padding}}} | 5px }}; {{#if: {{{border|}}} | border:{{{border}}}; | }}">{{#if: {{{receiver|}}} | {{{receiver}}} <br/> | }}{{{contents}}}<br/></div>
 
<div style="text-align:left; width:{{#if: {{{width|}}} | {{{width}}} | 50% }}; padding:{{#if: {{{padding|}}} | {{{padding}}} | 5px }}; {{#if: {{{border|}}} | border:{{{border}}}; | }}">{{#if: {{{receiver|}}} | {{{receiver}}} <br/> | }}{{{contents}}}<br/></div>
{{#if: {{{sender|}}} | <div align="{{{salign{{!}}right}}}">{{{sender}}}</div> | }}
+
{{#if: {{{sender|}}} | <div align="{{#if: {{{salign|}}} {{!}} {{{salign}}} {{!}} right }}">{{{sender}}}</div> | }}
</div><noinclude>
+
</div></onlyinclude><noinclude><!--
  
== Usage ==
+
-->== Usage ==
 
<pre>
 
<pre>
 
{{Letter
 
{{Letter

Revision as of 19:50, 24 May 2010

{{{contents}}}
== Usage ==
{{Letter
|align=
|width=
|padding=
|border=
|receiver=
|contents=
|sender=
|salign=
}}