Template:Infobox: Difference between revisions

From FrathWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{|style="background:#f9f9f9; float: right; border: 1pt solid #c0c0c0; width:30%; font-size:95%" cellspacing=0 cellpadding=3
<includeonly><table style="background:#f9f9f9; float: right; border: 1pt solid #c0c0c0; width:30%; font-size:95%" cellspacing=0 cellpadding=3>
|- style="text-align: center;"
<tr style="text-align: center;">
!colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0; font-size: 110%;"| {{{name}}}
<th colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0; font-size: 110%;"> {{{name}}} </th></tr>
|-
{{ #if: {{{pronounce|}}} | <tr>
|style="border-bottom: 1pt solid #c0c0c0; width: 30%"| Pronounced: ||style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"| {{{pronounce}}}
<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>
|style="border-bottom: 1pt solid #c0c0c0; width: 30%"| Timeline and Universe: ||style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"| {{{tu}}}
<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>
|style="border-bottom: 1pt solid #c0c0c0; width: 30%"| Species: ||style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"| {{{species}}}
<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>
|style="border-bottom: 1pt solid #c0c0c0; width: 30%"| Spoken: ||style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"| {{{in}}}
<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>
|style="border-bottom: 1pt solid #c0c0c0; width: 30%"| Total speakers: ||style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"| {{{no}}}
<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>
|style="border-bottom: 1pt solid #c0c0c0; width: 30%"| Writing system: ||style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"| {{{script}}}
<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>
|style="border-bottom: 1pt solid #c0c0c0; width: 30%"| Genealogy: ||style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"| {{{tree}}}
<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> }}
|-
 
!colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0;"| Typology
{{ #ifeq: {{{morph|}}}{{{ms|}}}{{{wo|}}} ||| <tr>
|-
<th colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0;"> Typology </th></tr>
|style="border-bottom: 1pt solid #c0c0c0; width: 30%"| Morphology: ||style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"| {{{morph}}}
{{ #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> }}
|style="border-bottom: 1pt solid #c0c0c0; width: 30%"| Morphosyntax: ||style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"| {{{ms}}}
{{ #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> }}
|style="border-bottom: 1pt solid #c0c0c0; width: 30%"| Word order: ||style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"| {{{wo}}}
{{ #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> }} }}
!colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0;"| Credits
 
|-
{{ #ifeq: {{{creator|}}}{{{date|}}} ||| <tr>
|style="border-bottom: 1pt solid #c0c0c0; width: 30%"| Creator: ||style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"| {{{creator}}}
<th colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0;"> Credits </th></tr>
|-
{{ #if: {{{creator|}}} | <tr>
|style="width: 30%"| Created: ||style="border-left: 1pt solid #c0c0c0; width: 70%"| {{{date}}}
<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