Difference between revisions of "Template:Infobox larp series/doc"
(Created page with " <templatedata> { "params": { "name": { "label": "Name", "description": "Name of the larp series.", "required": true }, "image": { "label": "Image", "des...") |
m |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Documentation subpage}} | ||
+ | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
+ | {{lua|Module:Check for unknown parameters}} | ||
+ | |||
+ | {{tlx|Infobox larp series}} should be used to describe a larp series or campaign, usually at the top of an article. For specific larp events or runs of larps, use {{nowrap|{{tlx|Infobox larp run}}}}. | ||
+ | |||
+ | == Usage == | ||
+ | {{Parameter names example | ||
+ | | title | ||
+ | | image | ||
+ | | image_upright | ||
+ | | image_alt | ||
+ | | caption | ||
+ | | native_name | ||
+ | | native_name_lang | ||
+ | | english_name | ||
+ | | tagline | ||
+ | | genre | ||
+ | | style | ||
+ | | first_larp | ||
+ | | founding_location | ||
+ | | also_known_as | ||
+ | | website | ||
+ | }} | ||
+ | |||
+ | <pre style="overflow:auto;"> | ||
+ | {{Infobox event | ||
+ | | title = <!-- Title to display, if other than page name --> | ||
+ | | image = | ||
+ | | image_upright = | ||
+ | | image_alt = | ||
+ | | caption = | ||
+ | | native_name = | ||
+ | | native_name_lang = | ||
+ | | english_name = | ||
+ | | tagline = | ||
+ | | first_larp = | ||
+ | | genre = | ||
+ | | style = | ||
+ | | founding_location = | ||
+ | | also_known_as = | ||
+ | | website = <!-- {{URL|example.com}} --> | ||
+ | }} | ||
+ | </pre> | ||
+ | {{clear}} | ||
+ | === Parameters === | ||
+ | * {{para|title}} - name of the event, if omitted, the page name will be used | ||
+ | * {{para|child}} - set to "yes" if you are embedding this infobox in another one | ||
+ | * {{para|image}} - name of the image of the event | ||
+ | * {{para|image_upright}} - | ||
+ | * {{para|image_alt}} - | ||
+ | * {{para|caption}} - optional caption of the image | ||
+ | * {{para|native_name}} - the native name of the event, if different | ||
+ | * {{para|native_name_lang}} - [[Wikipedia:ISO 639-2|ISO 639-2]] code for the native name e.g. 'fr' for French. | ||
+ | * {{para|english_name}} - | ||
+ | * {{para|tagline}} - tagline or motto | ||
+ | * {{para|first_larp}} - The first larp of the series or campaign | ||
+ | * {{para|also_known_as}} - | ||
+ | * {{para|style}} - Style | ||
+ | * {{para|genre}} - Genre | ||
+ | * {{para|founding_location}} - Where the series or campaign is based | ||
+ | * {{para|website}} - Use {{tl|URL}} (ex: <code><nowiki>{{URL|example.com}}</nowiki></code>) | ||
+ | |||
+ | == Example == | ||
+ | {{Infobox larp series | ||
+ | |image=Falkar.jpeg | ||
+ | |image_alt=Silhouette of a group of eight medieval style soldiers with crossbows against a cloudy sky. | ||
+ | |name=Krigshjärta | ||
+ | |english_name=Heart of War | ||
+ | |genre=Low fantasy | ||
+ | |style=Rules light collaborative boffer | ||
+ | |founding_location=Sweden | ||
+ | |website={{URL|krigshjarta.com}} | ||
+ | |caption=Cordovian crossbow soldiers. Photo by: Lisa Tegelmark.}} | ||
+ | <pre style="overflow:auto;"> | ||
+ | {{Infobox larp series | ||
+ | |image=Falkar.jpeg | ||
+ | |image_alt=Silhouette of a group of eight medieval style soldiers with crossbows against a cloudy sky. | ||
+ | |name=Krigshjärta | ||
+ | |english_name=Heart of War | ||
+ | |genre=Low fantasy | ||
+ | |style=Rules light collaborative boffer | ||
+ | |founding_location=Sweden | ||
+ | |website={{URL|krigshjarta.com}} | ||
+ | |caption=Cordovian crossbow soldiers. Photo by: Lisa Tegelmark.}} | ||
+ | </pre> | ||
+ | {{clear}} | ||
+ | |||
+ | == Microformat == | ||
+ | {{UF-hcal}} | ||
+ | |||
+ | == Tracking categories == | ||
+ | * {{clc|Pages using infobox larp series with unknown parameters}} | ||
+ | * {{clc|Pages using infobox larp series with blank parameters}} | ||
+ | |||
+ | == See also == | ||
+ | * {{tl|Infobox larp run}} | ||
+ | * {{tl|Infobox larp design}} | ||
+ | * {{tl|Infobox larp festival}} | ||
+ | * {{tl|Infobox con}} | ||
+ | * {{tl|Infobox con run}} | ||
+ | |||
+ | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
+ | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
+ | [[Category:Larp infobox templates| ]] | ||
+ | [[Category:Templates that add a tracking category]] | ||
+ | }}</includeonly> | ||
<templatedata> | <templatedata> | ||
Line 17: | Line 124: | ||
"example": "1.15", | "example": "1.15", | ||
"default": "1" | "default": "1" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
"caption": { | "caption": { | ||
Line 51: | Line 151: | ||
], | ], | ||
"label": "Also known as", | "label": "Also known as", | ||
− | "description": "Alternate name for the larp | + | "description": "Alternate name for the larp series." |
}, | }, | ||
"tagline": { | "tagline": { | ||
"label": "Tagline", | "label": "Tagline", | ||
− | "description": "Tagline of the larp | + | "description": "Tagline of the larp series." |
}, | }, | ||
"genre": { | "genre": { | ||
Line 67: | Line 167: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
− | "founding_location": {}, | + | "founding_location": { |
+ | "label": "Founding location", | ||
+ | "description": "Country or more specific place where the series or campaign originated." | ||
+ | }, | ||
"first_larp": { | "first_larp": { | ||
"label": "First larp", | "label": "First larp", | ||
Line 80: | Line 183: | ||
"description": "Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}} as in {{URL|Example.com}}. Do not display the www. part unless the site requires it. ", | "description": "Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}} as in {{URL|Example.com}}. Do not display the www. part unless the site requires it. ", | ||
"example": "{{URL|example.com}}" | "example": "{{URL|example.com}}" | ||
+ | }, | ||
+ | "image_alt": { | ||
+ | "aliases": [ | ||
+ | "alt" | ||
+ | ], | ||
+ | "label": "Alt", | ||
+ | "description": "Alt text for image, for visually impaired readers. One word (such as \"photograph\") is rarely sufficient. See WP:ALT." | ||
} | } | ||
}, | }, | ||
Line 86: | Line 196: | ||
"image", | "image", | ||
"image_upright", | "image_upright", | ||
− | " | + | "image_alt", |
"caption", | "caption", | ||
"native_name", | "native_name", | ||
Line 98: | Line 208: | ||
"first_larp", | "first_larp", | ||
"website" | "website" | ||
− | ] | + | ], |
+ | "description": "Template for a larp series or campaign. For specific larp events or runs of larps, use [[Template:Infobox larp event]]." | ||
} | } | ||
</templatedata> | </templatedata> |
Latest revision as of 16:37, 9 January 2019
This is a documentation subpage for Template:Infobox larp series. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
{{Infobox larp series}}
should be used to describe a larp series or campaign, usually at the top of an article. For specific larp events or runs of larps, use {{Infobox larp run}}
.
Usage
Infobox larp series/doc | |
---|---|
[[File:{{{image}}}|frameless|alt={{{image_alt}}}|upright={{{image_upright}}}|{{{image_alt}}}]] {{{caption}}} | |
Native name | {{{native_name}}} |
English name | {{{english_name}}} |
Also known as | {{{also_known_as}}} |
Tagline | {{{tagline}}} |
Genre | {{{genre}}} |
Style | {{{style}}} |
Founding location | {{{founding_location}}} |
First larp | {{{first_larp}}} |
Website | {{{website}}} |
{{Infobox event | title = <!-- Title to display, if other than page name --> | image = | image_upright = | image_alt = | caption = | native_name = | native_name_lang = | english_name = | tagline = | first_larp = | genre = | style = | founding_location = | also_known_as = | website = <!-- {{URL|example.com}} --> }}
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_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|first_larp=
- The first larp of the series or campaign|also_known_as=
-|style=
- Style|genre=
- Genre|founding_location=
- Where the series or campaign is based|website=
- Use {{URL}} (ex:{{URL|example.com}}
)
Example
Krigshjärta | |
---|---|
Cordovian crossbow soldiers. Photo by: Lisa Tegelmark. | |
English name | Heart of War |
Genre | Low fantasy |
Style | Rules light collaborative boffer |
Founding location | Sweden |
Website | krigshjarta |
{{Infobox larp series |image=Falkar.jpeg |image_alt=Silhouette of a group of eight medieval style soldiers with crossbows against a cloudy sky. |name=Krigshjärta |english_name=Heart of War |genre=Low fantasy |style=Rules light collaborative boffer |founding_location=Sweden |website={{URL|krigshjarta.com}} |caption=Cordovian crossbow soldiers. Photo by: Lisa Tegelmark.}}
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 series with unknown parameters (1)
- Category:Pages using infobox larp series with blank parameters (0)
See also
- {{Infobox larp run}}
- {{Infobox larp design}}
- {{Infobox larp festival}}
- {{Infobox con}}
- {{Infobox con run}}
Template for a larp series or campaign. For specific larp events or runs of larps, use [[Template:Infobox larp event]].
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the larp series. | Unknown | required |
Image | image | Image name: abc.jpg, xpz.png, 123.gif, etc. If an image is desired but not available, one may add "yes" to the "needs-photo" section of the :Template:WPBiography on the talkpage. If no image is available yet, do not use an image placeholder. | Unknown | 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 | image_alt alt | Alt text for image, for visually impaired readers. One word (such as "photograph") is rarely sufficient. See WP:ALT. | Unknown | optional |
Caption | caption | Caption for image, if needed. Try to include date of photo and the photographer. | Unknown | optional |
Native name | native_name | The person's name in their own language, if different. | Unknown | optional |
Native name language | native_name_lang | SO 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 | English name if name of the series is in another language. | Unknown | optional |
Also known as | also_known_as also known as AKA aka | Alternate name for the larp series. | Unknown | optional |
Tagline | tagline | Tagline of the larp series. | Unknown | optional |
Genre | genre | Genre(s) of the larp series. | Unknown | suggested |
Style | style | Play styles of the larp series. | Unknown | suggested |
Founding location | founding_location | Country or more specific place where the series or campaign originated. | Unknown | optional |
First larp | first_larp | First larp in the series | Unknown | suggested |
Website | website URL | Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}} as in {{URL|Example.com}}. Do not display the www. part unless the site requires it.
| Unknown | optional |