Difference between revisions of "Template:Infobox larp design/doc"

From Nordic Larp Wiki
Jump to navigation Jump to search
m
m
Line 138: Line 138:
 
{
 
{
 
"params": {
 
"params": {
"name": {},
+
"name": {
"image": {},
+
"label": "Name",
"image_upright": {},
+
"description": "Name of the larp",
 +
"type": "string",
 +
"required": true
 +
},
 +
"image": {
 +
"label": "Image",
 +
"description": "Image name: abc.jpg, xpz.png, 123.gif, etc. If no image is available yet, do not use an image placeholder.",
 +
"type": "wiki-file-name"
 +
},
 +
"image_upright": {
 +
"label": "Image upright",
 +
"description": "Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).",
 +
"example": "1.15",
 +
"default": "1"
 +
},
 
"alt": {
 
"alt": {
 
"aliases": [
 
"aliases": [
 
"image_alt"
 
"image_alt"
]
+
],
 +
"label": "Alt",
 +
"description": "Alt text for image, for visually impaired readers. One word (such as \"photograph\") is rarely sufficient. See WP:ALT."
 +
},
 +
"caption": {
 +
"aliases": [
 +
"image caption",
 +
"image_caption"
 +
],
 +
"label": "Caption",
 +
"description": "Caption for image, if needed. Try to include date of photo and the photographer."
 +
},
 +
"native_name": {
 +
"label": "Native name",
 +
"description": "The larp's name in it's own language, if different."
 +
},
 +
"native_name_lang": {
 +
"label": "Native name language",
 +
"description": "ISO 639-1 code, e.g., \"fr\" for French. If more than one, use Template:lang in `native_name` instead."
 
},
 
},
"caption": {},
 
"native_name": {},
 
"native_name_lang": {},
 
 
"english_name": {
 
"english_name": {
 
"aliases": [
 
"aliases": [
 
"English_name"
 
"English_name"
]
+
],
 +
"label": "English name",
 +
"description": "The larp's name translated to english, if needed"
 +
},
 +
"tagline": {
 +
"label": "Tagline",
 +
"description": "Tagline of the larp"
 +
},
 +
"series_label": {
 +
"label": "Series label",
 +
"description": "Optional label, if another term than series is more appropriate"
 +
},
 +
"series": {
 +
"label": "Series",
 +
"description": "Larp series that the design is part of."
 +
},
 +
"duration": {
 +
"label": "Duration",
 +
"description": "Duration of the larp",
 +
"example": "4h"
 
},
 
},
"tagline": {},
 
"series_label": {},
 
"series": {},
 
"duration": {},
 
 
"also_known_as": {
 
"also_known_as": {
 
"aliases": [
 
"aliases": [
Line 163: Line 207:
 
"AKA",
 
"AKA",
 
"aka"
 
"aka"
]
+
],
 +
"label": "Also known as",
 +
"description": "Alternate name for the larp design"
 +
},
 +
"designers": {
 +
"label": "Designers",
 +
"description": "The people who designed the larp. Use {{plainlist}} or {{Unbulleted list}} for multiple rows.",
 +
"example": "{{Unbulleted list|[[Designer 1]]|[[Designer 2]]}} or [[Designer]]"
 +
},
 +
"larpwrights": {
 +
"label": "Larpwrights",
 +
"description": "The people who wrote the larp. Use {{plainlist}} or {{Unbulleted list}} for multiple rows.",
 +
"example": "    {{Unbulleted list|[[Larpwright 1]]|[[Larpwright 2]]}} or [[Larpwright]]"
 +
},
 +
"techniques": {
 +
"label": "Techniques",
 +
"description": "Techniques used in the larp. Use {{plainlist}} or {{unbulleted list}} for multiple rows.",
 +
"example": "{{Unbulleted list|[[Check-in]]|[[Monologue]]}} "
 
},
 
},
"designers": {},
 
"larpwrights": {},
 
"techniques": {},
 
 
"participants": {
 
"participants": {
 
"aliases": [
 
"aliases": [
 
"Participants"
 
"Participants"
 
],
 
],
"label": "Participants"
+
"label": "Participants",
 +
"description": "Number of participants the larp is designed for"
 
},
 
},
 
"website": {
 
"website": {
Line 179: Line 238:
 
"url"
 
"url"
 
],
 
],
"label": "Website"
+
"label": "Website",
 +
"description": "Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use Template:URL as in Example.com . Do not include the www. part unless the server requires it. Use camel case capitalization to make multiword domain names easier to read.",
 +
"example": "{{URL|example.com}}"
 +
},
 +
"last_larp": {
 +
"label": "Last larp",
 +
"description": "Previous larp in the same series or campaign."
 
},
 
},
"last_larp": {},
+
"next_larp": {
"next_larp": {}
+
"label": "Next larp",
 +
"description": "Next larp in the same series or campaign."
 +
}
 
},
 
},
 
"description": "Template for a larp design. For specific larp events or runs of larps, use [[Template:Infobox larp event]].",
 
"description": "Template for a larp design. For specific larp events or runs of larps, use [[Template:Infobox larp event]].",

Revision as of 06:14, 3 January 2019

{{Infobox larp design}} should be used to describe larp designs, usually at the top of an article. For specific larp events or runs of larps, use {{Infobox larp event}}.

Usage

Infobox larp design/doc
[[File:{{{image}}}|frameless|alt={{{image_alt}}}|upright={{{image_upright}}}|{{{image_alt}}}]]
{{{caption}}}
Native name {{{native_name}}}
English name{{{english_name}}}
Tagline{{{tagline}}}
{{{series_label}}}{{{series}}}
Duration{{{duration}}}
Also known as{{{also_known_as}}}
Designed by{{{designers}}}
Larpwrights{{{larpwrights}}}
Techniques{{{techniques}}}
Participants{{{participants}}}
Website{{{website}}}
{{{series}}} {{{series_label}}}
Preceded by
{{{last_larp}}}
Followed by
{{{next_larp}}}


{{Infobox event
| title                    = <!-- Title to display, if other than page name -->
| image                    = 
| image_size               = <!-- |image_upright= is preferred for most cases, see WP:IMGSIZE -->
| image_upright            = 
| image_alt                = 
| caption                  = 
| native_name              = 
| native_name_lang         = 
| english_name             = 
| tagline                  = 
| series                   = <!-- Larp series that event is part of -->
| series_label             = <!-- Optional label, if another term than series is more appropriate -->
| duration                 = 
| also_known_as            = 
| designers                = <!-- Designers -->
| larpwrights              = <!-- Larpwrights -->
| techniques               = <!-- Techniques used -->
| participants             = 
| website                  = <!-- {{URL|example.com}} -->
| notes                    = 
| last_larp                = 
| next_larp                = 
}}

Parameters

  • |title= - name of the event, if omitted, the page name will be used
  • |child= - set to "yes" if you are embedding this infobox in another one
  • |image= - name of the image of the event
  • |image_size= - |image_upright= is preferred for most cases, see WP:IMGSIZE
  • |image_upright= -
  • |image_alt= -
  • |caption= - optional caption of the image
  • |native_name= - the native name of the event, if different
  • |native_name_lang= - ISO 639-2 code for the native name e.g. 'fr' for French.
  • |english_name= -
  • |tagline= - tagline or motto
  • |series= - Larp series that event is part of
  • |series_label= - Optional label, if another term than series is more appropriate
  • |duration= -
  • |also_known_as= -
  • |designers= - designed by
  • |larpwrights= - written by
  • |techniques= - techniques used
  • |participants= - number of participants
  • |website= - Use {{URL}} (ex: {{URL|example.com}})
  • |notes= -
  • |last_larp= - Previous larp in the same series or campaign.
  • |next_larp= - Next larp in the same series or campaign.

Example

Template:Infobox larp

{{Infobox larp
|name=Joakim
|tagline=Ett experimentlajv (a larp experiment)
|duration=4 hours
|participants=10
|designers=[[Anna-Karin Linder]]
|techniques={{Unbulleted list|[[Black-box]]|[[Monologue]]}}
}}

Microformat

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes this microformat uses include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.

Tracking categories

See also


Template for a larp design. For specific larp events or runs of larps, use [[Template:Infobox larp event]].

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the larp

Stringrequired
Imageimage

Image name: abc.jpg, xpz.png, 123.gif, etc. If no image is available yet, do not use an image placeholder.

Fileoptional
Image uprightimage_upright

Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).

Default
1
Example
1.15
Unknownoptional
Altalt image_alt

Alt text for image, for visually impaired readers. One word (such as "photograph") is rarely sufficient. See WP:ALT.

Unknownoptional
Captioncaption image caption image_caption

Caption for image, if needed. Try to include date of photo and the photographer.

Unknownoptional
Native namenative_name

The larp's name in it's own language, if different.

Unknownoptional
Native name languagenative_name_lang

ISO 639-1 code, e.g., "fr" for French. If more than one, use Template:lang in `native_name` instead.

Unknownoptional
English nameenglish_name English_name

The larp's name translated to english, if needed

Unknownoptional
Taglinetagline

Tagline of the larp

Unknownoptional
Series labelseries_label

Optional label, if another term than series is more appropriate

Unknownoptional
Seriesseries

Larp series that the design is part of.

Unknownoptional
Durationduration

Duration of the larp

Example
4h
Unknownoptional
Also known asalso_known_as also known as AKA aka

Alternate name for the larp design

Unknownoptional
Designersdesigners

The people who designed the larp. Use {{plainlist}} or {{Unbulleted list}} for multiple rows.

Example
{{Unbulleted list|[[Designer 1]]|[[Designer 2]]}} or [[Designer]]
Unknownoptional
Larpwrightslarpwrights

The people who wrote the larp. Use {{plainlist}} or {{Unbulleted list}} for multiple rows.

Example
{{Unbulleted list|[[Larpwright 1]]|[[Larpwright 2]]}} or [[Larpwright]]
Unknownoptional
Techniquestechniques

Techniques used in the larp. Use {{plainlist}} or {{unbulleted list}} for multiple rows.

Example
{{Unbulleted list|[[Check-in]]|[[Monologue]]}}
Unknownoptional
Participantsparticipants Participants

Number of participants the larp is designed for

Unknownoptional
Websitewebsite URL url

Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use Template:URL as in Example.com . Do not include the www. part unless the server requires it. Use camel case capitalization to make multiword domain names easier to read.

Example
{{URL|example.com}}
Unknownoptional
Last larplast_larp

Previous larp in the same series or campaign.

Unknownoptional
Next larpnext_larp

Next larp in the same series or campaign.

Unknownoptional