Open main menu

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

m
m
 
(5 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"
},
 
"alt": {
 
"aliases": [
 
"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": {
 
"caption": {
Line 51: Line 151:
 
],
 
],
 
"label": "Also known as",
 
"label": "Also known as",
"description": "Alternate name for the larp event."
+
"description": "Alternate name for the larp series."
 
},
 
},
 
"tagline": {
 
"tagline": {
 
"label": "Tagline",
 
"label": "Tagline",
"description": "Tagline of the larp event."
+
"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",
"alt",
+
"image_alt",
 
"caption",
 
"caption",
 
"native_name",
 
"native_name",

Latest revision as of 16:37, 9 January 2019

{{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
Silhouette of a group of eight medieval style soldiers with crossbows against a cloudy sky.
Cordovian crossbow soldiers. Photo by: Lisa Tegelmark.
English nameHeart of War
GenreLow fantasy
StyleRules light collaborative boffer
Founding locationSweden
Websitekrigshjarta.com
{{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
Please do not rename or remove these classes
nor collapse nested elements which use them.

Tracking categories

See also


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

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the larp series.

Unknownrequired
Imageimage

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.

Unknownoptional
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
Altimage_alt alt

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

Unknownoptional
Captioncaption

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

Unknownoptional
Native namenative_name

The person's name in their own language, if different.

Unknownoptional
Native name languagenative_name_lang

SO 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

English name if name of the series is in another language.

Unknownoptional
Also known asalso_known_as also known as AKA aka

Alternate name for the larp series.

Unknownoptional
Taglinetagline

Tagline of the larp series.

Unknownoptional
Genregenre

Genre(s) of the larp series.

Unknownsuggested
Stylestyle

Play styles of the larp series.

Unknownsuggested
Founding locationfounding_location

Country or more specific place where the series or campaign originated.

Unknownoptional
First larpfirst_larp

First larp in the series

Unknownsuggested
Websitewebsite 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.

Example
{{URL|example.com}}
Unknownoptional