Help:Templates: Difference between revisions
Line 11: | Line 11: | ||
==Article templates== |
==Article templates== |
||
{|border="1" style="width:100%;" |
|||
Contributor |
|||
|- |
|||
Infobox event |
|||
|width="100"|'''Template Name''' |
|||
Infobox person |
|||
||'''Example''' |
|||
Infobox website |
|||
|width="300;"|'''Where to use''' |
|||
|- |
|||
||{{[[Template:Contributor|Contributor]]|username}} |
|||
||{{Contributor|example}} |
|||
||This template is used to mark an article page as referring to AnOtherWiki [[:Category:Editors|editor]]. |
|||
For example, on the article [[Jarandhel Dreamsinger]] a box like this links the article to the [[User:Jarandhel]] account. |
|||
This template should be used immediately after the {{[[Template:Infobox person|Infobox person]]}} template described below. |
|||
|- |
|||
||{{[[Template:Infobox event|Infobox event]]| |
|||
title = |<br> |
|||
image = |<br> |
|||
caption = |<br> |
|||
organizer = |<br> |
|||
url = |<br> |
|||
country = |<br> |
|||
state = |<br> |
|||
city = |<br> |
|||
status = |<br> |
|||
attendees = |<br> |
|||
nextdate = |<br> |
|||
began = |<br> |
|||
lastheld = |<br> |
|||
setting = }} |
|||
||{{Infobox event|title=Example Event|image=[[File:Circuitseptegram.png|100x100px]]|caption=An example event logo.|organizer='''Organizer''':<br>No one!<br>'''Co-Organizer''':<br>Not me!|url=http://www.example.com|country=Canada|state=Ontario|city=Kitchener|status=Defunct|attendees= roughly 300|nextdate=June 1-9, 2159|began=March 24-28, 1874|lastheld=December 8-14, 1995|setting=Imaginary.}} |
|||
||Used in articles about events, to help organize pertinent information and make it easily accessible to readers. |
|||
'''Format''': |
|||
<br>title = event name |
|||
<br>image = <nowiki>[[File:Filename.jpg|size]]</nowiki> |
|||
<br>caption = description of image |
|||
<br>organizer = name(s) or '''Title''':<br>name(s), etc. |
|||
<br>url = gather website |
|||
<br>country = country abbreviation |
|||
<br>state = full state name (or equivalent) |
|||
<br>city = city |
|||
<br>status = Ongoing, On Hiatus, or Defunct |
|||
<br>attendees = estimate of average attendees (or projected). |
|||
<br>nextdate = day(s) the event will next be held |
|||
<br>began = day(s) the event was first held (not needed if same as nextdate) |
|||
<br>lastheld = day(s) the event was last held (not needed if same as began) |
|||
<br>setting = Private home, camping, hotel, etc. |
|||
This template should be used prior to the start of the article text. |
|||
|- |
|||
||{{[[Template:Infobox person|Infobox person]]| |
|||
<br>name = | |
|||
<br>realname = | |
|||
<br>othernames = | |
|||
<br>image = | |
|||
<br>caption = | |
|||
<br>born = | |
|||
<br>died = | |
|||
<br>spouses = | |
|||
<br>mates = | |
|||
<br>profession = | |
|||
<br>kintype =| |
|||
<br>theriotype =| |
|||
<br>vamptype = | |
|||
<br>url = | |
|||
<br>city =| |
|||
<br>state = | |
|||
<br>country = |
|||
}} |
|||
||{{Infobox person | name = Jarandhel Dreamsinger | othernames = Jarin | image = [[File:MyPhotoforLogo.jpg|193x242px]]| caption = | born = February 6, 1981 | kintype =Elf, among other things. | vamptype = Donor (Sanguinarian) | url = http://dreamhart.org | city =Arlington | state = Virginia | country =USA}} |
|||
||Used in articles about people, to help organize pertinent information and make it easily accessible to readers. Also adds the article to [[:Category:People]]. |
|||
'''Format''': |
|||
<br>name = name most commonly known by in the community. |
|||
<br>realname = real name. See the [[Help:Stylebook#Articles_about_people|Stylebook]] prior to using. |
|||
<br>othernames = any other names or aliases the person goes by within the community |
|||
<br>image = a photograph, artistic representation, or common usericon. Again, see the [[Help:Stylebook#Articles_about_people|Stylebook]]. |
|||
<br>caption = a description of the image used. |
|||
<br>born = date the person was born |
|||
<br>died = date the person died |
|||
<br>spouses = names of spouses. If only one spouse, use "spouse =" instead. This should only be used to designate legal marriages. Names should not be duplicated between this section and the mates section. |
|||
<br>mates = names of mates. If only one mate, use "mates =" instead. This may be used for any long-term partner, whether legally recognized or otherwise. Name should not be duplicated between this section and the mates section. |
|||
<br>profession = what the person does for a living, in general terms. |
|||
<br>kintype = kintype or types. |
|||
<br>theriotype = theriotype or types. |
|||
<br>vamptype = type of vampire, or Donor (type of vampire), as applicable. |
|||
<br>url = url of website or blog |
|||
<br>city = city |
|||
<br>state = state |
|||
<br>country = country |
|||
This template should be used prior to the start of the article text. |
|||
|- |
|||
||{{[Template:Infobox website|Infobox website]]| |
|||
<br>| title = |
|||
<br>| image = |
|||
<br>| caption = |
|||
<br>| author = |
|||
<br>| url = |
|||
<br>| status = |
|||
<br>| began = |
|||
<br>| ended = |
|||
<br>| articlecount = |
|||
<br>| genre = |
|||
<br>| rating = }} |
|||
||{{Infobox website|title=Otherkin.net|image=[[File:OKNBanner.jpg]]|caption=Otherkin.net logo by [[Arhúaine]]|author=[[Tirl Windtree]]|url=http://www.otherkin.net|status=Active|began=October 12, 2000|genre=Community resource}} |
|||
||Used in articles about websites, to help organize pertinent information and make it easily accessible to readers. |
|||
'''Format''': |
|||
<br>| title = name of website |
|||
<br>| image = logo of website |
|||
<br>| caption = Information about logo (& who created it, if known) |
|||
<br>| author = site owner |
|||
<br>| url = url of the website's main page |
|||
<br>| status = Active or Defunct |
|||
<br>| began = date the page was created |
|||
<br>| ended = date the page went offline |
|||
<br>| articlecount = count of the articles appearing on the site, if known. |
|||
<br>| genre = What type of site is this? |
|||
<br>| rating = Can be used to note if the site contains explicit content. |
|||
This template should be used prior to the start of the article text. |
|||
|} |
|||
==User templates== |
==User templates== |
Revision as of 17:19, 25 March 2012
We're just starting out, so we don't have very many templates created yet. But more are being created all the time. A full list of templates can be found here.
Citation templates
The following citation templates are avaialble: Article-journal Article-magazine Article-newspaper Article-newspaper-noauth Book Website
Article templates
Template Name | Example | Where to use | ||||||||||||||||||||||||
{{Contributor|username}} |
|
This template is used to mark an article page as referring to AnOtherWiki editor.
For example, on the article Jarandhel Dreamsinger a box like this links the article to the User:Jarandhel account. This template should be used immediately after the {{Infobox person}} template described below. | ||||||||||||||||||||||||
{{Infobox event|
title = | |
[[Category:Defunct {{{eventtype}}}s]]
|
Used in articles about events, to help organize pertinent information and make it easily accessible to readers.
Format:
This template should be used prior to the start of the article text. | ||||||||||||||||||||||||
{{Infobox person|
|
|
Used in articles about people, to help organize pertinent information and make it easily accessible to readers. Also adds the article to Category:People.
Format:
This template should be used prior to the start of the article text. | ||||||||||||||||||||||||
{{[Template:Infobox website|Infobox website]]|
|
|
Used in articles about websites, to help organize pertinent information and make it easily accessible to readers.
Format:
This template should be used prior to the start of the article text. |
User templates
Template Name | Example | Where to use | |||||||||||||||||||||||||||
{{Infobox user|
contributor=handle| irc=handle(s)| facebook=handle| twitter=handle| dreamwidth=handle| livejournal=handle| secondlife=handle| deviantart=handle}} |
|
This template is used to place infoboxes on a userpage linking to accounts that user has elsewhere and placing them in the appropriate user categories. It also adds the "This is an AnOtherWiki user page." notice to the top of the page, and may be used to do this with no other arguments. |