Changes

Jump to: navigation, search

Template:Translation

14 bytes added, 23:10, 7 November 2008
Use HTML table to suppress spurious <p> in template expansion.
<div style="border-top:1px solid #888888; border-bottom:1px solid #888888; margin:0px;">
{| <table width="100%" cellpadding="0" cellspacing="0" style="background-color:#d0e6f9; color:grey">|-<tr>| <!-- width=75% --> td align="left | ">&nbsp;&nbsp;<font size="1">{{:Template:Translation/translation of/lang-{{{lang}}}}} '''[[{{{source}}}|{{{source_display|{{{source}}}}}}]]'''</font></td>| <!-- width=25% --> td align="right | "><font size="1">'''<span class="plainlinks">[{{fullurl:{{{source}}}|oldid={{{version}}}}} {{{version_display|{{:Template:Translation/original/lang-{{{lang}}}}}}}}]</span>'''</font>&nbsp;&nbsp;</td>|-</tr><tr>| <td align="left | ">&nbsp;&nbsp;{{:{{{source}}}/translations|translated={{{lang}}}}} <small class="plainlinks"> &nbsp; [{{fullurl:{{{source}}}/translations|action=edit}} +/-] </small></td>| <td align="right | "><font size="1">'''<span class="plainlinks">[{{fullurl:{{{source}}}|diff=current&amp;oldid={{{version}}}}} {{{diff_display|{{:Template:Translation/changes/lang-{{{lang}}}}}}}}]</span>'''</font>&nbsp;&nbsp;</td>|-</tr>|}</table>
</div><includeonly>{{#ifeq: {{{status|xx}}} | {{translation/wanted/lang-{{{lang}}}}} | {{Translation/no translation/lang-{{{lang}}} | source = {{{source}}} }} [[Category:{{#ifexist:Template:Translation/wanted/lang-{{{lang}}}|{{translation/wanted/lang-{{{lang}}}}}|Translations wanted/lang-{{{lang}}} }}]] {{ {{#if:{{NAMESPACE}}||:}}{{{source}}} }} | {{#ifeq:{{{status|}}} | {{translation/incomplete/lang-{{{lang}}}}} | {{#ifexist:Template:translation/translation-incomplete/lang-{{{lang}}}|{{translation/translation-incomplete/lang-{{{lang}}}}}|{{translation/translation-incomplete/lang-en}} }}[[Category:Ongoing translations/lang-{{{lang}}}]] | [[Category:Translations lang-{{{lang}}}]]}} }}</includeonly><noinclude>
This template (in conjunction with [[Template:Translations]]&mdash;note the plural&mdash;and the <tt>source/translations</tt> page) are used to better keep track of the [[:Category:Translated Pages]] and the [[translating]] effort to lower the language barrier of the project.<font size="-1">
46
edits

Navigation menu