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

From Nordic Larp Wiki
Jump to navigation Jump to search
m
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 event}}}}.
 +
 +
== Usage ==
 +
{{Parameter names example
 +
| title                 
 +
| image                   
 +
| image_size             
 +
| 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_size              = <!-- |image_upright= is preferred for most cases, see WP:IMGSIZE -->
 +
| 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_size}} - {{para|image_upright}} is preferred for most cases, see [[Wikipedia:WP:IMGSIZE|WP:IMGSIZE]]
 +
* {{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
 +
|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
 +
|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 event}}
 +
* {{tl|Infobox larp design}}
 +
* {{tl|Infobox larp festival}}
 +
* {{tl|Infobox con}}
 +
* {{tl|Infobox con event}}
 +
 +
<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>

Revision as of 04:04, 4 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 event}}.

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_size               = <!-- |image_upright= is preferred for most cases, see WP:IMGSIZE -->
| 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_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
  • |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
|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
Altalt image_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 event.

Unknownoptional
Taglinetagline

Tagline of the larp event.

Unknownoptional
Genregenre

Genre(s) of the larp series.

Unknownsuggested
Stylestyle

Play styles of the larp series.

Unknownsuggested
Founding_locationfounding_location

no description

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