Difference between revisions of "Template:Letter"
From EncyclopAtys
CeNobiteElf (talk | contribs) m (Created page with '<div align="center"> <div style="text-align:left; padding:5px; border:1px solid; width:{{{width|50%}}};">{{{receiver}}}<br/> {{{contents}}}<br/></div> {{#if: {{{sender|}}} | <div…') |
|||
(8 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <div align="center"> | + | <includeonly><div align="{{#if: {{{align|}}} | {{{align}}} | center }}"> |
− | <div style="text-align:left; | + | <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> |
− | {{{contents}}}<br/></div> | + | {{#if: {{{sender|}}} | <div align="{{#if: {{{salign|}}} {{!}} {{{salign}}} {{!}} right }}">{{{sender}}}</div> | }} |
− | {{#if: {{{sender|}}} | <div align="{{{ | + | </div></includeonly><noinclude> |
− | </div> | + | {{Trad|DE=Vorlage:Brief|EN=Template:Letter|H=1}} |
+ | == Usage == | ||
+ | <pre> | ||
+ | {{Letter | ||
+ | |align= | ||
+ | |width= | ||
+ | |padding= | ||
+ | |border= | ||
+ | |receiver= | ||
+ | |contents= | ||
+ | |sender= | ||
+ | |salign= | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | [[Category:Formatting templates|Letter]] | ||
+ | </noinclude> |
Latest revision as of 22:58, 27 July 2023
Usage
{{Letter |align= |width= |padding= |border= |receiver= |contents= |sender= |salign= }}