Template:Langbox: Difference between revisions
From Xen
				
				
				Jump to navigationJump to search
				
				Lars.kurth (talk | contribs) No edit summary  | 
				Lars.kurth (talk | contribs)  m (Taking category out of the actual box)  | 
				||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<table class="Langbox" style="border:1px solid #  | 
  <table class="Langbox" style="border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.25em 0;">  | 
||
<tr style="background: #  | 
  <tr style="background: #EEF3E2">  | 
||
{{#if:{{{image|}}}{{{header|}}}  | 
|||
<th class="Langbox-image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #4477A7;">{{{image|}}} {{{header|}}}</th>  | 
  |||
<  | 
  | <th class="Langbox-image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #aaaaaa;">{{{image|}}} {{{header|}}}</th>  | 
||
| <td class="Langbox-empty-cell"></td>   <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->  | 
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
</tr></table><noinclude>  | 
  </tr></table><noinclude>  | 
||
{{documentation}}  | 
|||
=== Examples ===  | 
  |||
<pre>  | 
  |||
{{Langbox  | 
  |||
 | image = [[Image:Geographylogo.png|25px|Languages|link=]]  | 
  |||
 | header = '''[[Project:Language policy|Languages:]]'''   | 
  |||
 | text = Languages code  | 
  |||
| ⚫ | |||
</pre>  | 
  |||
{{Langbox  | 
  |||
 | image = [[Image:Geographylogo.png|25px|Languages|link=]]  | 
  |||
 | header = '''[[Project:Language policy|Languages:]]'''   | 
  |||
 | text = Languages code  | 
  |||
}}  | 
  |||
[[Category:Templates]]  | 
  [[Category:Templates]]  | 
||
[[Category:Languages]]  | 
  [[Category:Languages]]  | 
||
Latest revision as of 11:48, 24 April 2012
[edit] [] 
 Template documentation
Examples
{{Langbox
 | image = [[Image:Geographylogo.png|25px|Languages|link=]]
 | header = '''[[Project:Language policy|Languages:]]''' 
 | text = Languages code
}}
| Languages code | 
|  The above documentation is transcluded from Template:Langbox/doc. (edit | history)  Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template.  | 
