Difference between revisions of "Template:Infobox larp design/doc"
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." | ||
}, | }, | ||
− | |||
− | |||
− | |||
"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" | ||
}, | }, | ||
− | |||
− | |||
− | |||
− | |||
"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]]}} " | ||
}, | }, | ||
− | |||
− | |||
− | |||
"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." | ||
}, | }, | ||
− | " | + | "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
This is a documentation subpage for Template:Infobox larp design. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
{{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}}} | |||
|
{{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
{{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
nor collapse nested elements which use them.
Tracking categories
- Category:Pages using infobox larp event with unknown parameters (0)
- Category:Pages using infobox larp event with blank parameters (0)
See also
- {{Infobox larp event}}
- {{Infobox larp festival}}
- {{Infobox con}}
Template for a larp design. For specific larp events or runs of larps, use [[Template:Infobox larp event]].
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the larp | String | required |
Image | image | Image name: abc.jpg, xpz.png, 123.gif, etc. If no image is available yet, do not use an image placeholder. | File | optional |
Image upright | image_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%).
| Unknown | optional |
Alt | alt image_alt | Alt text for image, for visually impaired readers. One word (such as "photograph") is rarely sufficient. See WP:ALT. | Unknown | optional |
Caption | caption image caption image_caption | Caption for image, if needed. Try to include date of photo and the photographer. | Unknown | optional |
Native name | native_name | The larp's name in it's own language, if different. | Unknown | optional |
Native name language | native_name_lang | ISO 639-1 code, e.g., "fr" for French. If more than one, use Template:lang in `native_name` instead. | Unknown | optional |
English name | english_name English_name | The larp's name translated to english, if needed | Unknown | optional |
Tagline | tagline | Tagline of the larp | Unknown | optional |
Series label | series_label | Optional label, if another term than series is more appropriate | Unknown | optional |
Series | series | Larp series that the design is part of. | Unknown | optional |
Duration | duration | Duration of the larp
| Unknown | optional |
Also known as | also_known_as also known as AKA aka | Alternate name for the larp design | Unknown | optional |
Designers | designers | The people who designed the larp. Use {{plainlist}} or {{Unbulleted list}} for multiple rows.
| Unknown | optional |
Larpwrights | larpwrights | The people who wrote the larp. Use {{plainlist}} or {{Unbulleted list}} for multiple rows.
| Unknown | optional |
Techniques | techniques | Techniques used in the larp. Use {{plainlist}} or {{unbulleted list}} for multiple rows.
| Unknown | optional |
Participants | participants Participants | Number of participants the larp is designed for | Unknown | optional |
Website | website 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.
| Unknown | optional |
Last larp | last_larp | Previous larp in the same series or campaign. | Unknown | optional |
Next larp | next_larp | Next larp in the same series or campaign. | Unknown | optional |