Difference between revisions of "Template:LetterApp"
From EncyclopAtys
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
{{#if: {{{url|}}} | src="{{{url}}}" | {{#if: {{{letter|}}}| src="http://beta.kdyne.net/rygreg/STABLE/letterapp/letter.php?letter={{{letter}}}&locale={{{lang|en|Error: Language undefined}}}"| Error: url and letter parameters cannot be both empty!}}}} | {{#if: {{{url|}}} | src="{{{url}}}" | {{#if: {{{letter|}}}| src="http://beta.kdyne.net/rygreg/STABLE/letterapp/letter.php?letter={{{letter}}}&locale={{{lang|en|Error: Language undefined}}}"| Error: url and letter parameters cannot be both empty!}}}} | ||
alt="Letter App picture" {{#if: {{{width}}} | width="{{{width}}}"}}> </div></includeonly><noinclude> | alt="Letter App picture" {{#if: {{{width}}} | width="{{{width}}}"}}> </div></includeonly><noinclude> | ||
− | + | {{Trad | |
− | |DE = Template:LetterApp |DEs= | + | |DE = Template:LetterApp |DEs= 4 |
|EN = Template:LetterApp |ENs= 0 | |EN = Template:LetterApp |ENs= 0 | ||
− | |ES = Template:LetterApp |ESs= | + | |ES = Template:LetterApp |ESs= 4 |
− | |FR = Template:LetterApp |FRs= | + | |FR = Template:LetterApp |FRs= 4 |
− | |RU = Template:LetterApp |RUs= | + | |RU = Template:LetterApp |RUs= 4 |
|H = | |H = | ||
|palette= | |palette= | ||
Line 33: | Line 33: | ||
| <code>letter</code>|| The letter ID as it appears in the image url. It must be defined if url is empty or an error will occur. | | <code>letter</code>|| The letter ID as it appears in the image url. It must be defined if url is empty or an error will occur. | ||
|- | |- | ||
− | | <code>lang</code>|| the language of the message. To be used when you dont use the version with url | + | | <code>lang</code>|| the language of the message. To be used when you dont use the version with url. |
|- | |- | ||
− | | <code>align</code>|| Image alignment: it can be <code>left</code>, <code>right</code>, <code>floatleft</code>, <code>center</code> or <code>floatright</code> | + | | <code>align</code>|| Image alignment: it can be <code>left</code>, <code>right</code>, <code>floatleft</code>, <code>center</code> or <code>floatright</code>. |
|- | |- | ||
| <code>width</code>|| Image size in px, redimensions the image to the specified value | | <code>width</code>|| Image size in px, redimensions the image to the specified value | ||
Line 75: | Line 75: | ||
| align=floatright | | align=floatright | ||
| width=250}} | | width=250}} | ||
− | + | {{Clear}}<br /> | |
− | + | <br /> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
[[de:Template:LetterApp]] [[en:Template:LetterApp]] [[es:Template:LetterApp]] [[fr:Template:LetterApp]] [[ru:Template:LetterApp]] {{Last version link|Template:LetterApp}}</noinclude> | [[de:Template:LetterApp]] [[en:Template:LetterApp]] [[es:Template:LetterApp]] [[fr:Template:LetterApp]] [[ru:Template:LetterApp]] {{Last version link|Template:LetterApp}}</noinclude> |
Latest revision as of 07:20, 10 November 2021
Contents
Description
This template is designed to ease the use of Moniq’s Letter App in EncyclopAtys.
Parameters
Parameter | Description |
---|---|
url |
The complete url of Letter App resulting image |
letter |
The letter ID as it appears in the image url. It must be defined if url is empty or an error will occur. |
lang |
the language of the message. To be used when you dont use the version with url. |
align |
Image alignment: it can be left , right , floatleft , center or floatright .
|
width |
Image size in px, redimensions the image to the specified value |
Usage
{{LetterApp | letter= | lang= | align= | width=}}
OR:
{{LetterApp | url= | align= | width=}}
Examples
Either url
or letter
must be defined or the template will return an error message.
With complete image url
{{LetterApp | url=http://beta.kdyne.net/rygreg/STABLE/letterapp/letter.php?letter=548efb6b1630c14faa0ea5735d9fbb9b288ead01&locale=en | align= | width=200}}
With Letter ID
{{LetterApp | letter=548efb6b1630c14faa0ea5735d9fbb9b288ead01 | lang=en | align=floatright | width=250}}
Last version 2021-11-10•ᐒ