Template:Language: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
m Icarus moved page Template:Greyhawk Language to Template:Language without leaving a redirect: Changing Category title to eliminate unnecessary "Greyhawk" in name
m 1 revision imported: Import from Mediawiki
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:21em; clear:right;"
<includeonly>{| style="float: right; clear: right; width:265px; border:1px solid midnightblue; padding: 2px; margin:1em;"
|-
|+'''Greyhawk [[:Category:Languages|Language]]'''
|colspan=2 style="text-align:center; font-size: larger;" | '''[[Greyhawk languages|Greyhawk Language]]'''
<tr><td colspan="2" style="background: DarkSlateBlue; line-height: 150%; text-align: center; font-family: Arial Black, Arial, sans-serif; font-size: 1.3em; color: white; font-weight: bold;">{{#if:{{{name|}}} |{{{name}}} |{{PAGENAME}}}}</td></tr><tr>
|-
  <td colspan="2" style="text-align:center">{{{image|}}}</td>
!colspan=2 style="font-size: large; background-color:{{{bgcolor|#000}}}; color:{{{fgcolor|#fff}}}; line-height: 300%; text-align:center" | <font face="Garamond">{{{name}}}
</tr><tr>
|-
  <td colspan="2" style="text-align:center; line-height: 1em;"> <span style="font-size:8pt;">{{{caption}}}</td>
|colspan=2 style="text-align:center;" | {{{image}}}
</tr><tr>
|-
  <td colspan="2" style="background: midnightblue; line-height: 1px;"></td>
|colspan=2 style="text-align:center;" | {{{caption}}}
</tr>{{#if:{{{location|}}}|<tr style="vertical-align: top;">
|-
  <th>'''Spoken in:'''</th>
!colspan=2 style="background-color:{{{bgcolor|#000}}}; line-height: 1%"|
  <td>{{{location|}}}</td>
|-
</tr>|}}{{#if:{{{people|}}}|<tr style="vertical-align: top;">
|'''Spoken in''' || {{{location|''Unknown''}}}
  <th>'''Spoken by:'''</th>
|-
  <td>{{{people|}}}</td>
|'''Spoken by''' || {{{people|''Unknown''}}}
</tr>|}}{{#if:{{{script|}}}|<tr style="vertical-align: top;">
|-
  <th>'''Script:'''</th>
|'''Script''' || {{{script|''Unknown''}}}
  <td>{{{script|}}}</td>
|-
</tr>|}}{{#if:{{{family|}}}|<tr style="vertical-align: top;">
|'''Language Family''' || {{{family|''Unknown''}}}
  <th>'''Language family:'''</th>
|}<noinclude>
  <td>{{{family|}}}</td>
This template is for use in any article about a language in the ''[[World of Greyhawk]]'' campaign setting. The image and caption parameters are optional, if left undefined they will not appear. All other parameters will appear as ''unknown'' by default. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.
</tr>|}}
|}
[[Category:Languages]]</includeonly>
<noinclude>
{{Language
|image=[[Image:Flan01.jpg]]
|caption=Ancient Flan tribesmen, as depicted in ''[[The Adventure Begins]]'' (1998). Art by David Roach.
|name=Flan language
|location=[[Tenh]], [[Rovers of the Barrens]], [[Geoff]], other isolated locales
|people=[[Flan]]
|script=
|family=Flan
}}
This template is for use in any article about a language in the {{smallcaps|[[World of Greyhawk]]}} campaign setting.  


==Usage==
==Usage==
{| style="border: none; background: none;"
Copy and paste the code section below to the top of the article being written and fill in the information ("parameter") areas.
|<pre>
 
{{Greyhawk Language
The image and caption parameters are optional, but are preferred. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.
|image=
|caption=
|name=
|location=
|people=
|script=
|family=
}}</pre>
|}


Two additional optional parameters exist to enable changing of the background and foreground colours in the name part of the infobox, the default is white text on a black background.
If any fields are left undefined, they will not appear.


<pre><nowiki>
Add wiki links to articles by putting the name of the place inside double brackets, <nowiki>[[like this]]</nowiki>.
|fgcolor=#fff
<pre>
|bgcolor=#000
{{Language
</nowiki></pre>
|image    =
|caption  =  
|name    =
|location =
|people  =
|script  =
|family  =
}}</pre>


[[Category:Languages|*]]
A brief description of how to fill out each parameter follows:
[[Category:Templates|Language]]
* '''Image'''—if an image of common speakers of the language has been [[Special:Upload|uploaded]], place the link to it like this: <nowiki>[[File:ExampleName.png|250px]]</nowiki>.
* '''Caption'''—describe the image briefly.  Cite which product the illustration is from and the artist or creator.
* '''Name'''—only necessary if it differs significantly from the page name
* '''location:'''—the nation(s), region(s), or place(s) the language is commonly spoken.  Place these in {nowiki}[[wikilinks]]</nowiki>, if possible.
* '''people:'''—the people who typically speak the language.  Place these in {nowiki}[[wikilinks]]</nowiki>, if possible.
* '''script:'''—the type of alphabet used to write the language.
* '''family:'''—if the language is related or derived from another language.


[[Category:Infoboxes]]
[[Category:Languages| ]]
</noinclude>
</noinclude>

Latest revision as of 11:12, 30 September 2024


Greyhawk Language
Flan language
Ancient Flan tribesmen, as depicted in The Adventure Begins (1998). Art by David Roach.
Spoken in: Tenh, Rovers of the Barrens, Geoff, other isolated locales
Spoken by: Flan
Language family: Flan

This template is for use in any article about a language in the World of Greyhawk campaign setting.

Usage

Copy and paste the code section below to the top of the article being written and fill in the information ("parameter") areas.

The image and caption parameters are optional, but are preferred. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.

If any fields are left undefined, they will not appear.

Add wiki links to articles by putting the name of the place inside double brackets, [[like this]].

{{Language
|image    = 
|caption  = 
|name     =
|location =
|people   =
|script   =
|family   =
}}

A brief description of how to fill out each parameter follows:

  • Image—if an image of common speakers of the language has been uploaded, place the link to it like this: [[File:ExampleName.png|250px]].
  • Caption—describe the image briefly. Cite which product the illustration is from and the artist or creator.
  • Name—only necessary if it differs significantly from the page name
  • location:—the nation(s), region(s), or place(s) the language is commonly spoken. Place these in {nowiki}wikilinks</nowiki>, if possible.
  • people:—the people who typically speak the language. Place these in {nowiki}wikilinks</nowiki>, if possible.
  • script:—the type of alphabet used to write the language.
  • family:—if the language is related or derived from another language.