Template:Infobox Site: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>{{#ifeq:{{lc:{{{type|}}}}}|none||{{pageHeader|{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} {{#if:{{{abbreviation|}}}|({{{abbreviation|}}})}}}} }}
<includeonly>{{raw:scWOD:Infobox Site |type = {{{type|}}}
{{{!}} class="floatright" style="width: 300px;"
|name             = {{{name|}}}
{{#if:{{{logo|}}}|{{!}} style="width: 170px;" {{!}} <span class="infobox_TopicName">{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} {{#if:{{{abbreviation|}}}|({{{abbreviation|}}})}}</span>
|abbreviation     = {{{abbreviation|}}}
{{!}} style="width: 130px;" {{!}} [[File:Site_{{#ifeq:{{lc:{{{type|}}}}}|none|{{PAGENAME}}_{{{name|}}}|{{PAGENAME}}}}_logo.{{{logo|}}}|130px]]
|logo             = {{{logo|}}}
|{{!}} colspan="2" style="text-align:center;" {{!}}<span class="infobox_TopicName">{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}</span>{{#if:{{{corporategroup|}}}|<br><span class="infobox_TopicNickname">[[{{{corporategroup|}}}]]</span>}}{{#if:{{{quote|}}}|<br><span class="infobox_TopicNickname">{{{quote|}}}</span>}}}}
|image             = {{{image|}}}
{{!}}-
|imagedesc        = {{{imagedesc|}}}
{{#if:{{{image|}}}|{{Infobox|image|{{#ifeq:{{lc:{{#sub:{{{image|}}}|0|4}}}}|file|[[{{{image|}}}|285px|right]]|[[File:Site_{{#ifeq:{{lc:{{{type|}}}}}|none|{{PAGENAME}}_{{{name|}}}|{{PAGENAME}}}}.{{{image|}}}|285px|right]]{{#if:{{{imageDesc|}}}|<br><span class="infobox_TopicNickname">{{{imageDesc|}}}</span>}}}}}}
|quote            = {{{quote|}}}
|{{Infobox|line}} }}
|}
{{{!}} class="floatright" style="width: 300px;"
<!--                    Owner                    -->
{{#if:{{{owner|}}}|{{infobox|section|'''{{#if:{{{ownertitle|}}}|{{{ownertitle|}}}|Owner}}:'''|{{C|{{{owner|}}}}} }}}}
<!--                    Werewolf Related          -->
{{#if:{{{totem|}}}|{{infobox|section|'''Totem:'''|{{C|{{{totem|}}}}} }}}}


<!--                    Address                    -->
|ownertitle        = {{{ownertitle|}}}
{{#ifeq:{{lc:{{{location|}}}}}|none||{{#ifeq:{{lc:{{{type|}}}}}|domain||{{#ifeq:{{lc:{{{type|}}}}}|district||{{#ifeq:{{lc:{{{type|}}}}}|government||{{Infobox|section|{{#ifeq:{{lc:{{{type|}}}}}|city|'''Region:'''|'''Address:'''}}|{{#ifeq:{{lc:{{{location|}}}}}|?|''You don't have the proper contacts to know this.''|{{IsAddress|{{{location|}}}|{{{district|}}}|{{{block|}}}|{{{street|}}}|br|{{#if:{{{label|}}}|<br>({{{label|}}})}}}} }} }}}}}}}}}}
|owner            = {{{owner|}}}
<!--                    Merit                    -->
|corporategroup    = {{{corporategroup|}}}
{{#if:{{{merit|}}}|{{infobox|section|'''Merit:'''|{{#ifeq:{{{merit|}}}|?|Unknown|{{O|{{{merit|}}}}}}} }}}}


<!-- Political party related-->
|description      = {{{description|}}}
{{#if:{{{studentWing|}}}|{{infobox|section|'''Student wing:'''|{{{studentWing|}}} }}}}
{{#if:{{{youthWing|}}}|{{infobox|section|'''Youth wing:'''|{{{youthWing|}}} }}}}
{{#if:{{{ideology|}}}|{{infobox|section|'''Ideology:'''|{{{ideology|}}} }}}}
{{#if:{{{politicalPosition|}}}|{{infobox|section|'''Political position:'''|{{{politicalPosition|}}} }}}}
{{#if:{{{politicalColours|}}}|{{infobox|section|'''Colours:'''|{{{politicalColours|}}} }}}}


{{#if:{{{partyNationalAssemblySeats|}}}|{{infobox|section|'''National Assembly Seats:'''|{{{partyNationalAssemblySeats|}}}/165 }}}}
|totem            = {{{totem|}}}
 
<!-- Fees and dress code-->
{{#if:{{{entryFee|}}}|{{infobox|section|'''Entry fee:'''|{{$|{{{entryFee|}}}}} }}}}
{{#if:{{{memberFee|}}}|{{infobox|section|'''Membership cost:'''|{{$|{{{memberfee|}}}}} }}}}
{{#if:{{{dresscode|}}}|{{infobox|section|'''Dress code:'''|{{{dresscode|}}} }}}}
 
<!-- Opening Hours -->
{{#if:{{{openingHours|}}}|{{infobox|section|'''Opening Hours:'''|<!--
-->{{#if:{{{openingHours_Mo|}}}|Monday {{#ifeq:{{lc:{{{openingHours_Mo|}}}}}|y|{{{openingHours|}}}|{{{openingHours_Mo|}}}}}}} <!--
-->{{#if:{{{openingHours_Tu|}}}|Tuesday {{#ifeq:{{lc:{{{openingHours_Tu|}}}}}|y|{{{openingHours|}}}|{{{openingHours_Tu|}}}}}}} <!--
-->{{#if:{{{openingHours_We|}}}|Wednesday {{#ifeq:{{lc:{{{openingHours_We|}}}}}|y|{{{openingHours|}}}|{{{openingHours_We|}}}}}}} <!--
-->{{#if:{{{openingHours_To|}}}|Thursday {{#ifeq:{{lc:{{{openingHours_To|}}}}}|y|{{{openingHours|}}}|{{{openingHours_To|}}}}}}} <!--
-->{{#if:{{{openingHours_Fr|}}}|Friday {{#ifeq:{{lc:{{{openingHours_Fr|}}}}}|y|{{{openingHours|}}}|{{{openingHours_Fr|}}}}}}} <!--
-->{{#if:{{{openingHours_Sa|}}}|Saturday {{#ifeq:{{lc:{{{openingHours_Sa|}}}}}|y|{{{openingHours|}}}|{{{openingHours_Sa|}}}}}}} <!--
-->{{#if:{{{openingHours_Su|}}}|Sunday {{#ifeq:{{lc:{{{openingHours_Su|}}}}}|y|{{{openingHours|}}}|{{{openingHours_Su|}}}}}}} <!--
-->}}}}
 
<!-- category -->
{{#if:{{{category|}}}|{{infobox|section|'''[[:Category:Establishment|Category]]:'''|{{{category|}}}}}}}
|}{{#switch: {{lc:{{{type|}}}}}
| home          = [[Category:Homes]]
| establishment = [[Category:Establishment]]
| government    = [[Category:Establishment]][[Category:Tenevyye]]
| site          =
| location      =
 
| party        = [[Category: Political party]]
 
| district      = [[Category:Districts]]
| domain        = [[Category:Domains]]
 
| shadow        = [[Category:Shadow Sites]]
| locus        = [[Category:Locus]]
 
| city          =
| country      =
 
| covenant      = [[Category:Covenants]]
| purepack      = [[Category:Packs (Pure)]]
| forsakenpack  = [[Category:Packs (Forsaken)]]
| none          =
| #default = <strong class="warning">Warning! Missing parameter (type=<establishment/home/location/site/district/government/covenant>).</strong>
}}</includeonly><noinclude>
== TODO ==
<nowiki>{{Infobox Site |type = <establishment/home/location/site/district/government>
|name              =
|abbreviation      =
 
|logo              =
|image            =
|imageDesc        =
|quote            =
 
|ownertitle        =
|owner            =
|corporategroup    =


<!-- Adress -->
<!-- Adress -->
|label            = todo
|label            = {{{label|}}}
|location          =  
|location          = {{{location|}}}
|district          =  
|district          = {{{district|}}}
|block            =  
|block            = {{{block|}}}
|street            =  
|street            = {{{street|}}}
|gps              = todo
|gps              = {{{gps|}}}


|merit            =  
|merit            = {{{merit|}}}


|category          = <!-- List below --> <!--Use {{G|}}-->
|category          = <!-- List below --> <!--Use {{G|}}-->
{{{category|}}}
|structure        = {{{structure|}}}
|durability        = {{{durability|}}}
|size              = {{{size|}}}


|structure        = todo
|durability        = todo
|size              = todo


<!-- Political Party -->
<!-- Political Party -->
|studentWing                =
|studentWing                = {{{studentWing|}}}
|youthWing                  =
|youthWing                  = {{{youthWing|}}}
|ideology                    =
|ideology                    = {{{ideology|}}}
|politicalPosition          =
|politicalPosition          = {{{politicalPosition|}}}
|politicalColours            =
|politicalColours            = {{{politicalColours|}}}
|partyNationalAssemblySeats  =
|partyNationalAssemblySeats  = {{{partyNationalAssemblySeats|}}}


<!-- Miscellaneous information -->
<!-- Miscellaneous information -->
|entryFee          =  
|entryFee          = {{{entryFee|}}}
|memberFee        =  
|memberFee        = {{{memberFee|}}}
|dressCode        =  
|dressCode        = {{{dressCode|}}}


<!-- Opening hours -->
<!-- Opening hours -->
|openingHours      = todo
|openingHours      = {{{openingHours|}}}
|openingHours_Mo  = todo
|openingHours_Mo  = {{{openingHours_Mo|}}}
|openingHours_Tu  = todo
|openingHours_Tu  = {{{openingHours_Tu|}}}
|openingHours_We  = todo
|openingHours_We  = {{{openingHours_We|}}}
|openingHours_To  = todo
|openingHours_To  = {{{openingHours_To|}}}
|openingHours_Fr  = todo
|openingHours_Fr  = {{{openingHours_Fr|}}}
|openingHours_Sa  = todo
|openingHours_Sa  = {{{openingHours_Sa|}}}
|openingHours_Su  = todo
|openingHours_Su  = {{{openingHours_Su|}}}
}}</nowiki>
}}</includeonly><noinclude>
 
==Template Parameters==
==Template Parameters==
  <nowiki>{{Infobox Site |type = <establishment/home/location/site/district/government>
  <nowiki>{{Infobox Site |type = <establishment/home/location/site/district/government>
Line 139: Line 71:
|owner            =  
|owner            =  
|corporategroup    =  
|corporategroup    =  
|description      =


|totem            =  
|totem            =  

Latest revision as of 21:18, 28 August 2022

Template Parameters

{{Infobox Site |type = <establishment/home/location/site/district/government>
 <!-- Type Explanation:
   * Establishment: All kind of Museum, shops, cafes, criminal organizations etc.
   * Government: Government establishments. (Police for instance.)
 -->

|logo              = 
|image             = 
|imageDesc         = 
|quote             = 

|ownertitle        = 
|owner             = 
|corporategroup    = 

|description       = 

|totem             = 

<!-- Adress -->
|label             = 
|location          = 
|district          = 
|block             = 
|street            = 
|gps               = 

|merit             = 

|category          = <!-- List below use template: {{G|}}-->


|structure         = 
|durability        = 
|size              = 

<!-- Miscellaneous information -->
|entryFee          = 
|memberfee         = 
|dresscode         = 

<!-- Opening hours -->
|openingHours      = <"Time": HH:MM or Y>
|openingHours_Mo   = <"Time": HH:MM or Y>
|openingHours_Tu   = <"Time": HH:MM or Y>
|openingHours_We   = <"Time": HH:MM or Y>
|openingHours_To   = <"Time": HH:MM or Y>
|openingHours_Fr   = <"Time": HH:MM or Y>
|openingHours_Sa   = <"Time": HH:MM or Y>
|openingHours_Su   = <"Time": HH:MM or Y>
}}

Empty Templates

Default

{{Infobox Site |type = establishment
|logo              = 
|image             = 
|imageDesc         = 
|quote             = 

|ownertitle        = 
|owner             = 
|corporategroup    = 

<!-- Adress -->
|label             = 
|location          = 
|district          = 
|block             = 
|street            = 
|gps               = 

|merit             = 

|category          = <!-- List them below, use template: {{G|}}-->


|structure         = 
|durability        = 
|size              = 
}}{{gameArticle|GM}}

Club or bar

{{Infobox Site |type = establishment
|logo              = 
|image             = 
|imageDesc         = 
|quote             = 

|ownertitle        = 
|owner             = 
|corporategroup    = 

<!-- Adress -->
|label             = 
|location          = 
|district          = 
|block             = 
|street            = 
|gps               = 

|merit             = 

|category          = <!-- List them below, use template: {{G|}}-->
{{G|Bars, Pubs & Clubs}}
{{G|Cafes & Coffeehouses}}

|structure         = 
|durability        = 
|size              = 

<!-- Miscellaneous information -->
|entryFee          = 
|memberFee         = 
|dressCode         = 

<!-- Opening hours -->
|openingHours      = 
|openingHours_Mo   = 
|openingHours_Tu   = 
|openingHours_We   = 
|openingHours_To   = 
|openingHours_Fr   = 
|openingHours_Sa   = 
|openingHours_Su   = 
}}{{gameArticle|GM}}