Template:Infobox Site: Difference between revisions

From Shadow Chronicles - Mortal
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>{{raw:scWOD:Infobox Site |type = {{{type|}}}
<includeonly>{{#ifeq:{{lc:{{{type|}}}}}|none||{{pageHeader|{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} {{#if:{{{abbreviation|}}}|({{{abbreviation|}}})}}}} }}
|name             = {{{name|}}}
{{{!}} class="floatright" style="width: 300px;"
|abbreviation     = {{{abbreviation|}}}
{{#if:{{{logo|}}}|{{!}} style="width: 170px;" {{!}} <span class="infobox_TopicName">{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} {{#if:{{{abbreviation|}}}|({{{abbreviation|}}})}}</span>
|logo             = {{{logo|}}}
{{!}} style="width: 130px;" {{!}} [[File:Site_{{#ifeq:{{lc:{{{type|}}}}}|none|{{PAGENAME}}_{{{name|}}}|{{PAGENAME}}}}_logo.{{{logo|}}}|130px]]
|image             = {{{image|}}}
|{{!}} 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>}}}}
|imagedesc        = {{{imagedesc|}}}
{{!}}-
|quote            = {{{quote|}}}
{{#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>}}}}}}
|{{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|}}}}} }}}}


|ownertitle        = {{{ownertitle|}}}
<!--                    Address                    -->
|owner            = {{{owner|}}}
{{#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|}}})}}}} }} }}}}}}}}}}
|corporategroup    = {{{corporategroup|}}}
<!--                    Merit                    -->
{{#if:{{{merit|}}}|{{infobox|section|'''Merit:'''|{{#ifeq:{{{merit|}}}|?|Unknown|{{O|{{{merit|}}}}}}} }}}}


|description      = {{{description|}}}
<!-- Political party related-->
{{#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|}}} }}}}


|totem            = {{{totem|}}}
{{#if:{{{partyNationalAssemblySeats|}}}|{{infobox|section|'''National Assembly Seats:'''|{{{partyNationalAssemblySeats|}}}/165 }}}}
 
<!-- 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            = {{{label|}}}
|label            = todo
|location          = {{{location|}}}
|location          =  
|district          = {{{district|}}}
|district          =  
|block            = {{{block|}}}
|block            =  
|street            = {{{street|}}}
|street            =  
|gps              = {{{gps|}}}
|gps              = todo


|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      = {{{openingHours|}}}
|openingHours      = todo
|openingHours_Mo  = {{{openingHours_Mo|}}}
|openingHours_Mo  = todo
|openingHours_Tu  = {{{openingHours_Tu|}}}
|openingHours_Tu  = todo
|openingHours_We  = {{{openingHours_We|}}}
|openingHours_We  = todo
|openingHours_To  = {{{openingHours_To|}}}
|openingHours_To  = todo
|openingHours_Fr  = {{{openingHours_Fr|}}}
|openingHours_Fr  = todo
|openingHours_Sa  = {{{openingHours_Sa|}}}
|openingHours_Sa  = todo
|openingHours_Su  = {{{openingHours_Su|}}}
|openingHours_Su  = todo
}}</includeonly><noinclude>
}}</nowiki>
 
==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 71: Line 139:
|owner            =  
|owner            =  
|corporategroup    =  
|corporategroup    =  
|description      =


|totem            =  
|totem            =  

Latest revision as of 22:17, 28 August 2022

TODO

{{Infobox Site |type = <establishment/home/location/site/district/government>
|name              = 
|abbreviation      = 

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

|ownertitle        = 
|owner             = 
|corporategroup    = 

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

|merit             = 

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

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

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

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

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

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    = 

|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}}