Template:Infobox Site: Difference between revisions

From Shadow Chronicles - Mortal
Jump to navigation Jump to search
No edit summary
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{raw:scGM:Infobox Site |type = {{{type|}}}
<includeonly>{{#ifeq:{{lc:{{{type|}}}}}|none||{{pageHeader|{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} {{#if:{{{abbreviation|}}}|({{{abbreviation|}}})}}}} }}
|logo              = {{{logo|}}}
{{{!}} class="floatright" style="width: 300px;"
|image             = {{{image|}}}
{{#if:{{{logo|}}}|{{!}} style="width: 170px;" {{!}} <span class="infobox_TopicName">{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} {{#if:{{{abbreviation|}}}|({{{abbreviation|}}})}}</span>
|imagedesc        = {{{imagedesc|}}}
{{!}} style="width: 130px;" {{!}} [[File:Site_{{#ifeq:{{lc:{{{type|}}}}}|none|{{PAGENAME}}_{{{name|}}}|{{PAGENAME}}}}_logo.{{{logo|}}}|130px]]
|quote            = {{{quote|}}}
|{{!}} 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>}}}}
{{!}}-
{{#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|}}}}}}} }}}}
 
<!-- 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|}}} }}}}
 
{{#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 -->
|location          = {{{location|}}}
|label            = todo
|district          = {{{districr|}}}
|location          =  
|block            = {{{block|}}}
|district          =  
|street            = {{{street|}}}
|block            =  
|gps              = {{{gps|}}}
|street            =  
|gps              = todo


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


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


|structure        = {{{structure|}}}
|structure        = todo
|durability        = {{{durability|}}}
|durability        = todo
|size              = {{{size|}}}
|size              = todo
}}</includeonly><noinclude>
 
  <nowiki>{{Infobox Site |type = <establishment/home/location/site>
<!-- 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
}}</nowiki>
 
==Template Parameters==
  <nowiki>{{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              =  
|logo              =  
|image            =  
|image            =  
Line 34: Line 139:
|owner            =  
|owner            =  
|corporategroup    =  
|corporategroup    =  
|totem            =


<!-- Adress -->
<!-- Adress -->
Line 45: Line 152:
|merit            =  
|merit            =  


|category          = <!-- List below --> <!--Use {{G|}}-->
|category          = <!-- List below use template: {{G|}}-->
todo
 
 
|structure        =  
|structure        =  
|durability        =  
|durability        =  
|size              =  
|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>
}}</nowiki>
}}</nowiki>
[[Category:Templates]]
 
== Empty Templates==
 
=== Default ===
{{Hide||
<nowiki>{{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}}</nowiki>}}
 
=== Club or bar ===
{{Hide||
<nowiki>{{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}}</nowiki>}}
[[Category:Templates]]</noinclude>

Latest revision as of 21: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}}