Difference between revisions of "Template:Infobox campaign/doc"

From Gaming Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
  
 
== Usage ==
 
== Usage ==
{{Parameter names example
 
| name
 
| native_name
 
| native_name_lang
 
| logo
 
| logo_alt
 
| logo_caption
 
| logo_size
 
| image
 
| image_size
 
| alt
 
| caption
 
| status
 
| genre
 
| system
 
| began
 
| ended
 
| time_active
 
| game_master
 
| players
 
| website
 
| footnotes
 
}}
 
 
 
<pre style="overflow: auto">
 
<pre style="overflow: auto">
{{Infobox recurring event
+
{{Infobox campaign
 
| name        = <!--Uses page name if omitted-->
 
| name        = <!--Uses page name if omitted-->
 
| native_name  =  
 
| native_name  =  
 
| native_name_lang =  
 
| native_name_lang =  
 
| logo        =  
 
| logo        =  
| logo_alt    =
+
| logo_alt    =  
 
| logo_caption =  
 
| logo_caption =  
| logo_size    =
+
| logo_size    =  
 
| image        =  
 
| image        =  
| image_size  =
+
| image_size  =  
| alt          =
+
| alt          =  
 
| caption      =  
 
| caption      =  
 
| status      = <!-- e.g. active, on hold, completed ... -->
 
| status      = <!-- e.g. active, on hold, completed ... -->
 
| genre        = <!-- e.g. fantasy, sci-fi, theme, setting name ... -->
 
| genre        = <!-- e.g. fantasy, sci-fi, theme, setting name ... -->
 
| system      = <!-- e.g. Hackmaster, D&D, etc ... -->
 
| system      = <!-- e.g. Hackmaster, D&D, etc ... -->
 +
| date        = <!-- {{start date|YYYY|mm|dd}} -->
 
| began        = <!-- {{start date|YYYY|mm|dd}} -->
 
| began        = <!-- {{start date|YYYY|mm|dd}} -->
 
| ended        = <!-- {{start date|YYYY|mm|dd}} -->
 
| ended        = <!-- {{start date|YYYY|mm|dd}} -->
 
| time_active  = <!-- {{age|YYYY|mm|dd}} Date of the first occurrence, or manual time -->
 
| time_active  = <!-- {{age|YYYY|mm|dd}} Date of the first occurrence, or manual time -->
 
| game_master  = <!-- e.g. [[User:Benjamin|Benjamin]], name of whoever the GM is -->
 
| game_master  = <!-- e.g. [[User:Benjamin|Benjamin]], name of whoever the GM is -->
| players      = <!-- list of names, like [[User:Andrew|Andrew]], [[User:Jeremy|Jeremy]], [[User:Luke|Luke]], [[User:Rob|Rob]] -->
+
| players      = <!-- list of names, like [[User:Andrew|Andrew]], [[User:Jamie|Jamie]], [[User:Luke|Luke]], [[User:Rob|Rob]] -->
 
| website      = <!-- {{URL|example.com}} if you need this for some reason -->
 
| website      = <!-- {{URL|example.com}} if you need this for some reason -->
 
| footnotes    =  
 
| footnotes    =  
Line 68: Line 45:
 
*'''imagesize''' – size of the image, default is <code>frameless</code>
 
*'''imagesize''' – size of the image, default is <code>frameless</code>
 
*'''caption''' – optional caption of the image
 
*'''caption''' – optional caption of the image
*'''status''' –
+
*'''status''' – is the campaign active, on hold, or over, etc
*'''genre''' –  
+
*'''genre''' – something about the flavor of the game, or its setting
*'''date''' or '''dates''' – required for single-day events – the date of a single-day event
+
*'''system''' – what mechanical system the game is using
*'''begins''' – required for multi-day events – the starting date for a multi-day events
+
*'''date''' – the date of a single-day game
*'''ends''' – required for multi-day events – the ending date for a multi-day events
+
*'''began''' – the starting date for multi-day games
*'''frequency''' – how often the event occurs (e.g. monthly, annually, ...)
+
*'''ended''' – the ending date for multi-day games
*'''venue''' – name of the particular venue (alternative to location)
+
*'''time_active''' – length of time the game is/was active
*'''location''' – the location of the event
+
*'''game_master''' – Game Master's name
*'''coordinates''' - Use {{tl|Coord}}, with <code>display=inline,title</code>
+
*'''players''' – list of players' names
*'''country''' – the country in which the event is held (alternative to location)
 
*'''years_active''' – years the event is/was active
 
*'''first''' or '''founded''' – date of the first event; use {{Tl|Start date}}
 
*'''founder_name''' - person or organization responsible for the first event
 
*'''last''' – date of the most recent event; use {{Tl|End date}}
 
*'''prev''' – Name (or link) to previous event
 
*'''next''' – Name (or link) to next event
 
*'''participants''' – the typical number of participants
 
*'''attendance''' – the number of spectators at the event
 
*'''area''' - the area that participants are drawn from
 
*'''budget''' - the larger of budgeted income or expense
 
*'''activity''' - significant things done at the event; separate multiple values using {{tl|Plainlist}} or {{tl|Flatlist}}
 
*'''patron''' or '''patrons''' –  patronage
 
*'''organised''' or '''organized''' – organised by
 
*'''filing''' – Federal tax filing status. Some possible values are: 501(c)(3), Private Enterprise, For Profit Corporation, etc.
 
*'''people''' – notable people
 
*'''member''' – larger organisation
 
*'''sponsor''' - Sponsor of the event, if applicable
 
 
*'''website''' – Use {{tl|URL}}
 
*'''website''' – Use {{tl|URL}}
 
*'''footnotes''' –
 
*'''footnotes''' –
 
=== Short version for conventions ===
 
{{parameter names example
 
| name     
 
| image   
 
| alt
 
| caption 
 
| status   
 
| genre     
 
| venue   
 
| location 
 
| coordinates
 
| country   
 
| first   
 
| last     
 
| organizer 
 
| filing   
 
| attendance
 
| website
 
| footnotes   
 
}}
 
<pre style="overflow:auto">
 
{{Infobox convention
 
| name        =
 
| image      =
 
| alt        =
 
| caption    =
 
| status      =
 
| genre      =
 
| venue      =
 
| location    =
 
| coordinates =
 
| country    =
 
| first      =
 
| last        =
 
| attendance  =
 
| organizer  =
 
| filing      =
 
| website    =
 
| footnotes  =
 
}}
 
</pre>
 
 
== See also ==
 
* [[Template:Infobox film festival]]
 
* [[Template:Infobox music festival]]
 
* [[Template:Infobox technology festival]]
 
* [[Template:Infobox theatre festival]]
 
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Arts and culture infobox templates|Recurring Event]]
 
[[Category:Events infobox templates|Recurring Event]]
 
}}</includeonly>
 

Latest revision as of 18:15, 8 October 2018

This infobox is used to display concisely information about a campaign or game.

{{Infobox campaign}} may be used to summarize information about a particular recurring event, usually at the top of an article.

The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Any parameters left blank or omitted will not be displayed.

Usage

{{Infobox campaign
| name         = <!--Uses page name if omitted-->
| native_name  = 
| native_name_lang = 
| logo         = 
| logo_alt     = 
| logo_caption = 
| logo_size    = 
| image        = 
| image_size   = 
| alt          = 
| caption      = 
| status       = <!-- e.g. active, on hold, completed ... -->
| genre        = <!-- e.g. fantasy, sci-fi, theme, setting name ... -->
| system       = <!-- e.g. Hackmaster, D&D, etc ... -->
| date         = <!-- {{start date|YYYY|mm|dd}} -->
| began        = <!-- {{start date|YYYY|mm|dd}} -->
| ended        = <!-- {{start date|YYYY|mm|dd}} -->
| time_active  = <!-- {{age|YYYY|mm|dd}} Date of the first occurrence, or manual time -->
| game_master  = <!-- e.g. [[User:Benjamin|Benjamin]], name of whoever the GM is -->
| players      = <!-- list of names, like [[User:Andrew|Andrew]], [[User:Jamie|Jamie]], [[User:Luke|Luke]], [[User:Rob|Rob]] -->
| website      = <!-- {{URL|example.com}} if you need this for some reason -->
| footnotes    = 
}}

Parameters

  • name – name of the event, if omitted, the page name will be used
  • native_name – the native name of the event, if different
  • native_name_langISO 639-2 code for the native name e.g. 'fr' for French.
  • logo – logo file name
  • logosize – size of the logo, default is frameless
  • logo_caption – optional caption to the logo
  • image – name of the image of the event
  • imagesize – size of the image, default is frameless
  • caption – optional caption of the image
  • status – is the campaign active, on hold, or over, etc
  • genre – something about the flavor of the game, or its setting
  • system – what mechanical system the game is using
  • date – the date of a single-day game
  • began – the starting date for multi-day games
  • ended – the ending date for multi-day games
  • time_active – length of time the game is/was active
  • game_master – Game Master's name
  • players – list of players' names
  • website – Use {{URL}}
  • footnotes