Template:Infobox: Difference between revisions
From FrathWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><table style="background:#f9f9f9; float: right; border: 1pt solid #c0c0c0; width:30%; font-size:95%" cellspacing=0 cellpadding=3> | |||
<tr style="text-align: center;"> | |||
<th colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0; font-size: 110%;"> {{{name}}} </th></tr> | |||
| | {{ #if: {{{pronounce|}}} | <tr> | ||
<td style="border-bottom: 1pt solid #c0c0c0; width: 30%"> Pronounced: </td><td style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"> {{{pronounce}}} </td></tr> }} | |||
| | {{ #if: {{{tu|}}} | <tr> | ||
<td style="border-bottom: 1pt solid #c0c0c0; width: 30%"> Timeline and Universe: </td><td style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"> {{{tu}}} </td></tr> }} | |||
| | {{ #if: {{{species|}}} | <tr> | ||
<td style="border-bottom: 1pt solid #c0c0c0; width: 30%"> Species: </td><td style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"> {{{species}}} </td></tr> }} | |||
| | {{ #if: {{{in|}}} | <tr> | ||
<td style="border-bottom: 1pt solid #c0c0c0; width: 30%"> Spoken: </td><td style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"> {{{in}}} </td></tr> }} | |||
| | {{ #if: {{{no|}}} | <tr> | ||
<td style="border-bottom: 1pt solid #c0c0c0; width: 30%"> Total speakers: </td><td style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"> {{{no}}} </td></tr> }} | |||
| | {{ #if: {{{script|}}} | <tr> | ||
<td style="border-bottom: 1pt solid #c0c0c0; width: 30%"> Writing system: </td><td style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"> {{{script}}} </td></tr> }} | |||
| | {{ #if: {{{tree|}}} | <tr> | ||
<td style="border-bottom: 1pt solid #c0c0c0; width: 30%"> Genealogy: </td><td style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"> {{{tree}}} </td></tr> }} | |||
| | |||
{{ #ifeq: {{{morph|}}}{{{ms|}}}{{{wo|}}} ||| <tr> | |||
| | <th colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0;"> Typology </th></tr> | ||
{{ #if: {{{morph|}}} | <tr> | |||
| | <td style="border-bottom: 1pt solid #c0c0c0; width: 30%"> Morphology: </td><td style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"> {{{morph}}} </td></tr> }} | ||
{{ #if: {{{ms|}}} | <tr> | |||
| | <td style="border-bottom: 1pt solid #c0c0c0; width: 30%"> Morphosyntax: </td><td style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"> {{{ms}}} </td></tr> }} | ||
{{ #if: {{{wo|}}} | <tr> | |||
| | <td style="border-bottom: 1pt solid #c0c0c0; width: 30%"> Word order: </td><td style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"> {{{wo}}} </td></tr> }} }} | ||
| | {{ #ifeq: {{{creator|}}}{{{date|}}} ||| <tr> | ||
<th colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0;"> Credits </th></tr> | |||
| | {{ #if: {{{creator|}}} | <tr> | ||
<td style="border-bottom: 1pt solid #c0c0c0; width: 30%"> Creator: </td><td style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"> {{{creator}}} </td></tr> }} | |||
|} | {{ #if: {{{date|}}} | <tr> | ||
<td style="width: 30%"> Created: </td><td style="border-left: 1pt solid #c0c0c0; width: 70%"> {{{date}}} </td></tr> }} }} | |||
{{ #ifeq: {{{homepage|}}}{{{cals|}}} ||| <tr> | |||
<th colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0;"> Links </th></tr> | |||
<tr> | |||
{{ #if: {{{homepage|}}} | {{ #if: {{{cals|}}} | <td><table><tr><td>[{{{homepage}}} homepage]</td><td>[http://cals.conlang.org/language/{{{cals}}} CALS]</td></tr></table></td> | <td colspan="2">[{{{homepage}}} homepage]</td> }} | <td colspan="2">http://cals.conlang.org/language/{{{cals}}} CALS]</td> }} | |||
</tr> | |||
</table></includeonly><noinclude> | |||
This template creates an infobox for a language. Use on language pages. | |||
''More documentation coming soon'' | |||
[[Category:Templates]] | |||
</noinclude> |
Revision as of 07:23, 19 April 2011
This template creates an infobox for a language. Use on language pages.
More documentation coming soon