Template:Pronounce: Difference between revisions

From Tolkien Gateway
No edit summary
m (Changed width to 272px)
(33 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| align=right border=1
<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">
|- valign="top"
<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>
|style="border: 1px solid #d8d6d6; color: #000; background-color: #f5f5f5" width=250px |
<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>
<div style="text-align: center">'''[[:Media:{{{1}}}|Hear this title pronounced]]'''</div>
==Usage==
<div style="float: left; margin-left: 5px;">[[Image:Sound-icon.png|45px|none|Spoken Wikipedia]]</div>
<nowiki>{{</nowiki>pronounce|'''1'''|'''2'''<nowiki>}}</nowiki>
<div style="font-size: xx-small; line-height: 1.6em; margin-left: 60px;">This audio file was created by [[User:{{{2}}}|{{{2}}}]]. If you find an error in the pronunciation please post so in the corresponding article's discussion page. ([[Wikipedia:Media help|Audio help]])</div>
 
<div style="text-align: center; clear: both; font-size: xx-small;">'''[[:Category:Pronounced articles|More pronounced articles]]'''
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>

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.