In Memoriam: Tai'lahr

OpenUru.org, along with the rest of the Mystonline community, is mourning the loss of Tai'lahr on October 16th, 2019.

Rest in Peace, friend.

Difference between revisions of "Template:AgeInfobox/doc"

From OpenUru
Jump to navigation Jump to search
m (→‎Example: Add <hr>)
(Make "image" optional)
 
Line 1: Line 1:
 
This template is an infobox for ages. It has fourteen possible parameters (note that many are optional and some are mutually exclusive):
 
This template is an infobox for ages. It has fourteen possible parameters (note that many are optional and some are mutually exclusive):
*'''image:''' An image of the age, stored in the wiki.
+
*'''tn_image''' A thumbnail of the age image, stored in the wiki. Normally this should be set to 300 pixels wide and provides a link to a larger image if present (optional).
*'''tn_image''' A thumbnail of the age image. Normally thais should be set to 300 pixels wide and provides a link to the larger image.
+
*'''image:''' An image of the age, stored in the wiki (optional). Will be ignored unless "tn_image" is also used.
*'''name:''' The title of the box is the name of the age. Usually this is the same as the name of the article. When it isn't (like in [[Gemedet (age)]]), this parameter can be used to set the name manually.
+
*'''name:''' The title of the box is the name of the age. Usually this is the same as the name of the article. When it isn't this parameter can be used to set the name manually.
*'''writer:''' The name of the [[Guild of Writers|Writer]] who wrote the age. It automatically creates a link to the Writer's article.
+
*'''writer:''' The name of the Writer who wrote the age. It automatically creates a link to the Writer's article.
 
*'''writers:''' The name of the writers of the age, for ages with multiple writers. Do not use this with <tt>writer</tt>.
 
*'''writers:''' The name of the writers of the age, for ages with multiple writers. Do not use this with <tt>writer</tt>.
 
*'''hahr:''' The [[hahr]] the age was written.
 
*'''hahr:''' The [[hahr]] the age was written.
*'''ecosystem:''' The age's ecosystem. Don't use this if the age's ecosystem category has not been created. If this parameter is used, <tt>name</tt> must be used too. It doesn't matter what value <tt>ecosystem</tt> has, as long as it is something.
+
*'''ecosystem:''' The age's ecosystem. If this parameter is used, <tt>name</tt> must be used too. It doesn't matter what value <tt>ecosystem</tt> has, as long as it is something.
 
*'''type:''' The type of age. An article with this parameter filled will be put into the appropriate category. The category must end with the word "Ages", but don't type that; if it is a Garden Age, type <tt>Type=Garden</tt>. It will display Garden Age.
 
*'''type:''' The type of age. An article with this parameter filled will be put into the appropriate category. The category must end with the word "Ages", but don't type that; if it is a Garden Age, type <tt>Type=Garden</tt>. It will display Garden Age.
 
*'''connected:''' Ages or places that link to the age or are linked to from the age. To make links to them, you have to put them inside brackets. Since almost all the ages were connected to D'ni, writing Earth or D'ni is not necessary.
 
*'''connected:''' Ages or places that link to the age or are linked to from the age. To make links to them, you have to put them inside brackets. Since almost all the ages were connected to D'ni, writing Earth or D'ni is not necessary.
Line 16: Line 16:
  
 
===Example===
 
===Example===
{{AgeInfobox|image=http://assets.openuru.org/wiki/newgreeters/KIimage0001.jpg|tn_image=http://assets.openuru.org/wiki/newgreeters/KIimage0001TN.jpg|name=Stub|writer=Editor|hahr=9663|ecosystem=xyzzy|type=Small|connected=Age_1, Age_2|phase=1|released=2006-09-18|journal=Stub journal|linkInPoints=Pedestal}}
+
{{AgeInfobox|tn_image=http://assets.openuru.org/wiki/newgreeters/KIimage0001TN.jpg|name=Stub|writer=Editor|hahr=9663|ecosystem=xyzzy|type=Small|connected=Age_1, Age_2|phase=1|released=2006-09-18|journal=Stub journal|linkInPoints=Pedestal}}
 
<code><nowiki>
 
<code><nowiki>
{{AgeInfobox|image=http://assets.openuru.org/wiki/newgreeters/KIimage0001.jpg|
+
{{AgeInfobox|
 
tn_image=http://assets.openuru.org/wiki/newgreeters/KIimage0001TN.jpg|
 
tn_image=http://assets.openuru.org/wiki/newgreeters/KIimage0001TN.jpg|
name=Stub|writer=Editor|hahr=9663|ecosystem=xyzzy|type=Small|connected=Age_1, Age_2|
+
name=Stub|writer=Editor|hahr=9663|ecosystem=xyzzy|type=Small|
phase=1|released=2006-09-18|journal=Stub journal|linkInPoints=Pedestal}}</nowiki></code>  
+
connected=Age_1, Age_2|phase=1|released=2006-09-18|journal=Stub journal|
 +
linkInPoints=Pedestal}}</nowiki></code>  
  
 
yields the box shown on the right:
 
yields the box shown on the right:

Latest revision as of 15:29, 26 December 2011

This template is an infobox for ages. It has fourteen possible parameters (note that many are optional and some are mutually exclusive):

  • tn_image A thumbnail of the age image, stored in the wiki. Normally this should be set to 300 pixels wide and provides a link to a larger image if present (optional).
  • image: An image of the age, stored in the wiki (optional). Will be ignored unless "tn_image" is also used.
  • name: The title of the box is the name of the age. Usually this is the same as the name of the article. When it isn't this parameter can be used to set the name manually.
  • writer: The name of the Writer who wrote the age. It automatically creates a link to the Writer's article.
  • writers: The name of the writers of the age, for ages with multiple writers. Do not use this with writer.
  • hahr: The hahr the age was written.
  • ecosystem: The age's ecosystem. If this parameter is used, name must be used too. It doesn't matter what value ecosystem has, as long as it is something.
  • type: The type of age. An article with this parameter filled will be put into the appropriate category. The category must end with the word "Ages", but don't type that; if it is a Garden Age, type Type=Garden. It will display Garden Age.
  • connected: Ages or places that link to the age or are linked to from the age. To make links to them, you have to put them inside brackets. Since almost all the ages were connected to D'ni, writing Earth or D'ni is not necessary.
  • phase: Restoration phase of the age. For released ages, type "Open". For unreleased ages, type the number ("1" instead of "One").
  • released: Date the age was released to the public.
  • journal: Journal found in the age.
  • journals: Journals found in the age. Use this instead of journal if there is more than one journal.
  • linkInPoints: Link-in points. For simplicity, don't list the journey cloths.

Example

http://assets.openuru.org/wiki/newgreeters/KIimage0001TN.jpg
Stub

Written by Editor

in 9663
Stub's ecosystem: xyzzy
Type Small Age
Connected places Age_1, Age_2
Restoration phase 1
Released 2006-09-18
Journal Stub journal
Link-in points Pedestal

{{AgeInfobox| tn_image=http://assets.openuru.org/wiki/newgreeters/KIimage0001TN.jpg| name=Stub|writer=Editor|hahr=9663|ecosystem=xyzzy|type=Small| connected=Age_1, Age_2|phase=1|released=2006-09-18|journal=Stub journal| linkInPoints=Pedestal}}

yields the box shown on the right:



Note: This template is adapted from the "Age" template at Mystlore.com[1], contributed by Chucker, Gorobay, and Koena and published under Creative Commons Attribution Non-Commercial License[2].