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

FrathWiki:Templates: Difference between revisions

From FrathWiki
Jump to navigationJump to search
No edit summary
Line 28: Line 28:


This [[Template:Language|template]] was designed by [[User:WeepingElf|Jörg]] as a base for your language descriptions.  It contains a box in the upper right corner with basic language data (location, timeline/universe, number of speakers, genealogical classification) modelled after the similar boxes found in Wikipedia language articles.  To include it in your page, type  
This [[Template:Language|template]] was designed by [[User:WeepingElf|Jörg]] as a base for your language descriptions.  It contains a box in the upper right corner with basic language data (location, timeline/universe, number of speakers, genealogical classification) modelled after the similar boxes found in Wikipedia language articles.  To include it in your page, type  
{|border=1 align=right cellpadding=4 cellspacing=0 width=300 style="margin: 0 0 1em 1em; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; font-size: 95%;
<nowiki>{{subst:Language}}</nowiki> into your edit window, then save your page, then open the edit window again and edit the table that now appears.
|colspan="2" bgcolor="#0000CC" color="#FFFFFF" align="center" |<font color="#FFFFFF"><big>'''Language'''</big></font>
|-
|valign="top"|Spoken in:
||(country)
|-
|valign="top"|Timeline/Universe:
||(universe)
|-
|valign="top"|Total speakers:
||(number of speakers)
|-
|valign="top"|Genealogical classification:
||Family<br>
&nbsp;Branch<br>
&nbsp;&nbsp;Subbranch<br>
&nbsp;&nbsp;&nbsp;'''Language'''
|}
 
Describe your language here in the edit window, save the page, open the edit window again and edit.


== Swadesh template ==
== Swadesh template ==

Revision as of 04:30, 20 September 2005

What is a template?

The MediaWiki software used by FrathWiki has support for templates. This means standardized text chunks (such as boilerplate text) can be inserted into articles. For example, typing {{stub}} will appear as "

This article is a stub. If you can contribute to its content, feel free to do so.

".

Instructions

To create a new user message, you need to make an article under the name Template:TEMPLATENAME.

Messages can be used in two ways: {{subst:TEMPLATENAME}} and {{TEMPLATENAME}}. subst copies the user message into the text of the article you are working on. Without subst the text of the user message is retrieved from the template space each time the article is opened. {{msg:TEMPLATENAME}} does the same thing as {{TEMPLATENAME}}.

If you create a new user message, please keep the list below updated.

Templates on this wiki

Work in progress

To show that a page is under construction, under revision or otherwise incomplete you can type {{Workinprogress}} at the top of of the page and it will appear as the following boilerplate:

"

".

Equivalent code is {{WIP}} or {{Wip}} or {{wip}}.

User page template

This Template:Userpage is a ripoff of User:Chlewey's elegant user page. You can use it as a help to create your own user page. To include it in your own page type {{subst:Userpage}} into your edit window, then save your page, then open your edit window again and edit the table that now appears. Replace the text in UPPERCASE with information relevant to yourself.

Language template

This template was designed by Jörg as a base for your language descriptions. It contains a box in the upper right corner with basic language data (location, timeline/universe, number of speakers, genealogical classification) modelled after the similar boxes found in Wikipedia language articles. To include it in your page, type {{subst:Language}} into your edit window, then save your page, then open the edit window again and edit the table that now appears.

Swadesh template

This template, adapted from the Wiktionary:Swadesh template can be used to demonstrate the vocabulary of a conlang. It can be seen here. To include it in your own page type {{subst:Swadesh}} into your edit window, then save your page, then open your edit window again and edit the table that now appears.