Template:Pronounce: Difference between revisions
From Tolkien Gateway
m (Grrr) |
(Updated documentation. Might tweak further later on; there's no reason this should have to be hard-coded to the right) |
||
(14 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<div style="right: 0px; clear: right; margin: 0px 0px 10px 10px | <div style="right: 0px; clear: right; float:right; margin: 0px 0px 10px 10px;"> | ||
<tr><td rowspan="2"><span class="plainlinks">[[File:Sound-icon.png|38px|link=File:{{{1}}}]]</span></td><td | <table style="border: 3px double #d8d6d6; color: #000; background-color: #f5f5f5; font-size: 0.8em; line-height: 1.5;" width="275px"> | ||
<tr><td style="font-size: | <tr> | ||
<td style="text-align:center; padding-bottom:3px" colspan="2">{{{3|[[:File:{{{1}}}]]}}}</td> | |||
</tr> | |||
<tr> | |||
<td rowspan="2"><span class="plainlinks">[[File:Sound-icon.png|38px|link=File:{{{1}}}]]</span></td> | |||
<td style="text-align:center">'''[[File:{{{1}}}]]'''</td> | |||
</tr> | |||
<tr> | |||
<td style="font-size: small; padding-bottom: 3px; text-align:center">By [[User:{{{2}}}|{{{2}}}]]. ([[Wikipedia:Media help|Media help]])</td> | |||
</tr> | |||
</table> | |||
</div> | |||
<noinclude> | |||
==Usage== | ==Usage== | ||
<nowiki>{{</nowiki>pronounce|'''1'''|'''2'''<nowiki>}}</nowiki> | <nowiki>{{</nowiki>pronounce|'''1'''|'''2'''|'''3'''<nowiki>}}</nowiki> | ||
Where | Where '''1''' is the name of the file (without brackets and without the <code>File:</code> prefix), '''2''' is the name of the user who created it, and '''3''' is the label to display above the file. If '''3''' is omitted, it will default to a direct link to the file. | ||
The template is known to mess up the layout of images; when used with illustrated articles, it is suggested to put this template under Etymology sections where images are not used. | |||
[[Category:Media templates|{{PAGENAME}}]] | |||
</noinclude> | |||
<includeonly>[[Category:Pronounced articles]]</includeonly> | <includeonly>[[Category:Pronounced articles]]</includeonly> |
Latest revision as of 08:07, 21 April 2024
[[:File:{{{1}}}]] | |
[[File:{{{1}}}]] | |
By [[User:{{{2}}}|{{{2}}}]]. (Media help) |
Usage[edit source]
{{pronounce|1|2|3}}
Where 1 is the name of the file (without brackets and without the File:
prefix), 2 is the name of the user who created it, and 3 is the label to display above the file. If 3 is omitted, it will default to a direct link to the file.
The template is known to mess up the layout of images; when used with illustrated articles, it is suggested to put this template under Etymology sections where images are not used.