The wiki has recently been updated. Please contact me by talk page or email if you encounter any issues.

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>
<includeonly><table style="background: #f9f9f9; float: right; border: 1px solid #c0c0c0; width:350; font-size:95%; margin: 0 0 1em 1em;" cellspacing=0 cellpadding=4>
<tr style="text-align: center;">
<tr style="text-align: center;">
<th colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0; font-size: 110%;"> {{{name|{{PAGENAME}}}}} </th></tr>
<th colspan=2 style="background: {{{bg|#dfdfdf}}}; border-bottom: 1pt solid #c0c0c0; font-size: 110%;"> {{{name|{{PAGENAME}}}}} </th></tr>
{{ #if: {{{pronounce|}}} | <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> }}
<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> }}
Line 18: Line 18:


{{ #ifeq: {{{morph|}}}{{{ms|}}}{{{wo|}}} ||| <tr>
{{ #ifeq: {{{morph|}}}{{{ms|}}}{{{wo|}}} ||| <tr>
<th colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0;"> Typology </th></tr>
<th colspan=2 style="background: {{{bg|#dfdfdf}}}; border-bottom: 1pt solid #c0c0c0;"> Typology </th></tr>
{{ #if: {{{morph|}}} | <tr>
{{ #if: {{{morph|}}} | <tr>
<td style="border-bottom: 1pt solid #c0c0c0; width: 30%"> [[Morphological type]]: </td><td style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"> {{{morph}}} </td></tr> }}
<td style="border-bottom: 1pt solid #c0c0c0; width: 30%"> [[Morphological type]]: </td><td style="border-left: 1pt solid #c0c0c0; border-bottom: 1pt solid #c0c0c0; width: 70%"> {{{morph}}} </td></tr> }}
Line 27: Line 27:


{{ #ifeq: {{{creator|}}}{{{date|}}} ||| <tr>
{{ #ifeq: {{{creator|}}}{{{date|}}} ||| <tr>
<th colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0;"> Credits </th></tr>
<th colspan=2 style="background: {{{bg|#dfdfdf}}}; border-bottom: 1pt solid #c0c0c0;"> Credits </th></tr>
{{ #if: {{{creator|}}} | <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> }}
<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> }}
Line 34: Line 34:


{{ #ifeq: {{{homepage|}}}{{{cals|}}} | | | <tr>
{{ #ifeq: {{{homepage|}}}{{{cals|}}} | | | <tr>
<th colspan=2 style="background: #dfdfdf; border-bottom: 1pt solid #c0c0c0;"> Links </th></tr>
<th colspan=2 style="background: {{{bg|#dfdfdf}}}; border-bottom: 1pt solid #c0c0c0;"> Links </th></tr>
<tr>
<tr>
{{ #if: {{{homepage|}}} | {{ #if: {{{cals|}}} | <td><table><tr><td width="50%">[{{{homepage}}} homepage]</td><td>[http://cals.conlang.org/language/{{{cals}}} CALS]</td></tr></table></td> | <td colspan="2">[{{{homepage}}} {{{homepagetitle|homepage}}}]</td> }} | <td colspan="2">[http://cals.conlang.org/language/{{{cals}}} CALS]</td> }}
{{ #if: {{{homepage|}}} | {{ #if: {{{cals|}}} | <td><table><tr><td width="50%">[{{{homepage}}} homepage]</td><td>[http://cals.conlang.org/language/{{{cals}}} CALS]</td></tr></table></td> | <td colspan="2">[{{{homepage}}} {{{homepagetitle|homepage}}}]</td> }} | <td colspan="2">[http://cals.conlang.org/language/{{{cals}}} CALS]</td> }}
Line 46: Line 46:
All parameters are optional.
All parameters are optional.


; bg
: the background color of the header cells. Defaults to {{color|#dfdfdf}}.
; name
; name
: The name of the language. Defaults to the page name.
: The name of the language. Defaults to the page name.

Revision as of 01:38, 1 May 2012


This template creates an infobox for a language. Use on language pages.

Parameters

All parameters are optional.

bg
the background color of the header cells. Defaults to .
name
The name of the language. Defaults to the page name.
pronounce
How the language is pronounced. Use with {{IPA}}.
tu
Timeline and universe where the language is used.
species
Species by which the language is used.
in
Location where the language is spoken.
no
Number of speakers.
script
Type and/or name of writing system.
tree
Genealogy of the language.
morph
Morphological type.
ms
Morphosyntactic alignment.
wo
Basic word order, such as SOV.
creator
Creator(s) of the conlang.
created
Time of creation, usually a starting date.
homepage
URI of the language's official homepage.
cals
If the language is on CALS, its external name in lowercase.