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:Infobox"

From OpenUru
Jump to navigation Jump to search
m (moved Template:Age to Template:Infobox: To be better used for a wide array of articles.)
m (Replaced content with "{{NewGreeters}} {{documentation}} Category:Ages")
Line 1: Line 1:
 
{{NewGreeters}}
 
{{NewGreeters}}
<noinclude>This template is an infobox for page summaries. It has a wide range of customizable parameters for a wide array of wiki articles. Here are some of the ones used for age description pages:
+
{{documentation}}
*'''image:''' The image to be displayed at the top of the infobox. The image's width is by default 300px wide. Please note the appropriate formatting for images when using this template.
+
[[Category:Ages]]
*'''name:''' The title of the box is the name of the box. Usually this is the same as the name of the article.
 
*'''writer:''' The name of the Writer who wrote the age.
 
*'''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 or year the age was written.
 
*'''type:''' The type of age. (i.e. "Large Age," "Garden Age," "Pod Age," ect.)
 
*'''phase:''' Restoration phase of the age. An unnecessary parameter for most articles.
 
*'''released:''' Date the age was released to the public. An unnecessary parameter, listed only for documentation.
 
*'''journal:''' Journal found in the age, about the age. Please list as a link.
 
*'''journals:''' Journals found in the age. Use this instead of <tt>journal</tt> if there is more than one journal. Please list as links.
 
*'''linkInPoints:''' List of link-in points. For simplicity, don't list the "journey cloths."
 
 
 
===Example===
 
<syntaxhighlight lang="html4strict">{| style="float: right; width: 20em; background-color: #FFEECC; border: 1px dashed #FFCC66; padding: 0.5em;"
 
! colspan="2" style="text-align: center; margin-bottom: 1em;" | [http://assets.openuru.org/wiki/newgreeters/KIimage0001.jpg http://assets.openuru.org/wiki/newgreeters/KIimage0001TN.jpg]
 
|-
 
| colspan="2" style="font-size: 1.3em; text-decoration: underline; text-align: center;" | Ae'gura
 
|-
 
! Type
 
| Large
 
|-
 
! Link-in points
 
| Many
 
|-
 
|}
 
</syntaxhighlight> yields:
 
{| style="float: right; width: 20em; background-color: #FFEECC; border: 1px dashed #FFCC66; padding: 0.5em;"
 
! colspan="2" style="text-align: center; margin-bottom: 1em;" | [http://assets.openuru.org/wiki/newgreeters/KIimage0001.jpg http://assets.openuru.org/wiki/newgreeters/KIimage0001TN.jpg]
 
|-
 
| colspan="2" style="font-size: 1.3em; text-decoration: underline; text-align: center;" | Ae'gura
 
|-
 
! Type
 
| Large
 
|-
 
! Link-in points
 
| Many
 
|-
 
|}
 
 
 
</noinclude>
 
 
 
Due to the way the OpenUru wiki handles image files, this template must be copied and pasted manually to achieve the optimum effect. You can add or remove lines of code as necessary. The full "Age" code used for Ae'gura is as follows:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<syntaxhighlight lang="html4strict">{| style="float: right; width: 20em; background-color: #FFEECC; border: 1px dashed #FFCC66; padding: 0.5em;"
 
! colspan="2" style="text-align: center; margin-bottom: 1em;" | [http://assets.openuru.org/wiki/newgreeters/KIimage0001.jpg http://assets.openuru.org/wiki/newgreeters/KIimage0001TN.jpg]
 
|-
 
| colspan="2" style="font-size: 1.3em; text-decoration: underline; text-align: center;" | Ae'gura
 
|-
 
| colspan="2" style="font-size: 0.95em; text-align: center;" | Written by Ri'neref
 
|-
 
| colspan="2" style="font-size: 0.95em; text-align: center;" | <hahr>0 BE</hahr>
 
|-
 
| colspan="2" style="font-size: 0.95em; text-align: center;" | [[Eco System of D'ni]]
 
|-
 
! Type
 
| Large Age (Part of D'ni/Earth)
 
|-
 
! Restoration phase
 
| Open
 
|-
 
! Released
 
| November 11, 2003
 
|-
 
! Journal
 
| Many
 
|-
 
! Link-in points
 
| Many
 
|-
 
|}
 
 
 
</syntaxhighlight>
 
 
 
Which in turn provides the following:
 
 
 
{| style="float: right; width: 20em; background-color: #FFEECC; border: 1px dashed #FFCC66; padding: 0.5em;"
 
! colspan="2" style="text-align: center; margin-bottom: 1em;" | [http://assets.openuru.org/wiki/newgreeters/KIimage0001.jpg http://assets.openuru.org/wiki/newgreeters/KIimage0001TN.jpg]
 
|-
 
| colspan="2" style="font-size: 1.3em; text-decoration: underline; text-align: center;" | Ae'gura
 
|-
 
| colspan="2" style="font-size: 0.95em; text-align: center;" | Written by Ri'neref
 
|-
 
| colspan="2" style="font-size: 0.95em; text-align: center;" | Written arround 0 BE
 
|-
 
| colspan="2" style="font-size: 0.95em; text-align: center;" | [[Eco System of D'ni]]
 
|-
 
! Type
 
| Large Age (Part of D'ni/Earth)
 
|-
 
! Restoration phase
 
| Open
 
|-
 
! Released
 
| November 11, 2003
 
|-
 
! Journal
 
| Many
 
|-
 
! Link-in points
 
| Many
 
|-
 
|}
 
 
 
Note: The original template, known as the "Age" template, was contributed by Chucker, Gorobay, and Koena on mystlore.com;[http://mystlore.com] used on the OpenUru wiki under the Creatie Commons License. [http://creativecommons.org/licenses/by-nc/2.5/]
 

Revision as of 21:15, 25 December 2011


The New Greeters


The Guild of New Greeters, for a Better D'ni.

New Greeters links: Home | Wiki Index | Forum | Archive | News

This template provides a generalized information box. It can be used to display a title accompanied by an optional image, optional subtitle, and a number of heading/value pairs:

  • tn_image: URL of the thumbnail image to be displayed at the top of the infobox (optional). If used, "image" may also be supplied if larger image is available. It will be linked from the thumbnail.
  • image: URL of larger version of thumbnail image (optional).
  • title: The title of the box (required).
  • subtitle A subtitle for the box (optional) may be used as a heading to the body table.
  • heading1 The name of the first information item (displayed on the left side)(optional).
  • value1 The value or data for the first information item (displayed on the right side)(optional, but is required if "heading1" is defined).
  • ...
  • heading8 The name of the eighth information item (displayed on the left side)(optional).
  • value8 The value or data for the eighth information item (displayed on the right side)(optional, but is required if "heading8" is defined).

Heading and Value pairs are optional, and up to eight pairs may be present in the infobox.

Example


The New Greeters


The Guild of New Greeters, for a Better D'ni.

New Greeters links: Home | Wiki Index | Forum | Archive | News

Template loop detected: Template:Documentation {{Infobox|title=Title|subtitle=My subtitle| image=http://assets.openuru.org/wiki/demo/stats_large.png| tn_image=http://assets.openuru.org/wiki/demo/stats_small.png|heading1=First| value1=Value A|heading2=Second|value2=Another value}}

yields the box shown on the right.