Template:Language: Difference between revisions

float the babel boxes to the right
m (better sub-category)
(float the babel boxes to the right)
Line 1: Line 1:
<includeonly><div style="float:left; border:solid #{{LanguageColours1|{{{2}}}}} 1px;margin:1px">
<includeonly><div style="border:solid #{{LanguageColours1|{{{2}}}}} 1px;margin:1px">
{|cellspacing="0" style="width:238px; background:#{{LanguageColours2|{{{2}}}}};"
{|cellspacing="0" style="width:238px; background:#{{LanguageColours2|{{{2}}}}};"
|style="width:45px; height:45px; background:#{{LanguageColours3|{{{2}}}}}; text-align:center; font-size:14pt"|'''[[:Category:{{LanguageNames|{{{1}}}}}Speakers|{{{1}}}]]-{{{2}}}'''  
|style="width:45px; height:45px; background:#{{LanguageColours3|{{{2}}}}}; text-align:center; font-size:14pt"|'''[[:Category:{{LanguageNames|{{{1}}}}}Speakers|{{{1}}}]]-{{{2}}}'''  
Line 7: Line 7:
|#default=[[Category:{{LanguageNames|{{{1}}}}}Speakers|{{PAGENAME}}]][[Category:{{LanguageNames|{{{1}}}}}Speakers ({{{2}}})|{{PAGENAME}}]]
|#default=[[Category:{{LanguageNames|{{{1}}}}}Speakers|{{PAGENAME}}]][[Category:{{LanguageNames|{{{1}}}}}Speakers ({{{2}}})|{{PAGENAME}}]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
__NOTOC__
__NOTOC__ __NOEDITSECTION__
;Examples shown on the right
;Examples shown on the right
{|align="right"
{|style=float:right
|-
|-
|{{language|fr|N|cat=no}}
|{{language|fr|N|cat=no}}
Line 44: Line 44:
All main language [[Special:Categories|categories]] can be found at [[:Category:Wiki People by Language]], and all sub categories can be found at Category:<tt>Language</tt>Speakers_(<tt>#</tt>), where <tt>Language</tt> is the name of a language, and <tt>#</tt> is a number between 0&ndash;5 or an N.
All main language [[Special:Categories|categories]] can be found at [[:Category:Wiki People by Language]], and all sub categories can be found at Category:<tt>Language</tt>Speakers_(<tt>#</tt>), where <tt>Language</tt> is the name of a language, and <tt>#</tt> is a number between 0&ndash;5 or an N.


[[Category:Wiki People by Language| ]]
[[Category:User language templates| ]]
[[Category:User language templates| ]]</noinclude>
[[Category:Wiki People by Language| ]]</noinclude>