Template:Pronounce: Difference between revisions

From Tolkien Gateway
m (Trying to get this fixed)
m (Changed width to 272px)
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="float: right; clear: right;"><table style="border: 3px double #d8d6d6; color: #000; background-color: #f5f5f5; margin: 10px; font-size: 0.8em; line-height: 1.5;" width="252px">
<div style="right: 0px; clear: right; float:right; margin: 0px 0px 10px 10px;"><table style="border: 3px double #d8d6d6; color: #000; background-color: #f5f5f5; font-size: 0.8em; line-height: 1.5;" width="272px">
<tr><td rowspan="2"><span class="plainlinks">[[File:Sound-icon.png|38px|link=File:{{{1}}}]]</span></td><td align="center">'''[[:Media:{{{1}}}|''{{{1}}}'']]'''</td></tr>
<tr><td rowspan="2"><span class="plainlinks">[[File:Sound-icon.png|38px|link=File:{{{1}}}]]</span></td><td align="center">'''[[:Media:{{{1}}}|''{{{1}}}'']]'''</td></tr>
<tr><td style="font-size: xx-small; padding-bottom: 3px;" align="center">By [[User:{{{2}}}|{{{2}}}]].</td><tr></table></div><noinclude>
<tr><td style="font-size: xx-small; padding-bottom: 3px;" align="center">By [[User:{{{2}}}|{{{2}}}]]. ([[Wikipedia:Media help|Help]]; [[:Category:Pronounced articles|more articles]])</td><tr></table></div><noinclude>
==Usage==
==Usage==
<nowiki>{{</nowiki>pronounce|'''1'''|'''2'''<nowiki>}}</nowiki>
<nowiki>{{</nowiki>pronounce|'''1'''|'''2'''<nowiki>}}</nowiki>


Where, '''1''' is the link to the file and '''2''' is the name of the user who created it.[[Category:Media templates|{{PAGENAME}}]]</noinclude>
Where, '''1''' is the link to the file and '''2''' is the name of the user who created it.
 
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>

Revision as of 16:51, 17 December 2017

link=File:{{{1}}}[[:Media:{{{1}}}|{{{1}}}]]
By [[User:{{{2}}}|{{{2}}}]]. (Help; more articles)

Usage

{{pronounce|1|2}}

Where, 1 is the link to the file and 2 is the name of the user who created it.

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.