Шаблон:Location: различия между версиями

Материал из MassMeta
Перейти к навигации Перейти к поиску
imported>Kosmos
м (Changed all locations-templates to resize the pic to 300px (if bigger than that), I hope I'm not making the bandwidth jump because of this.)
imported>Senefi
(Undo revision 50288 by Senefi (talk) moving changes to a private user page)
 
(не показаны 4 промежуточные версии 3 участников)
Строка 1: Строка 1:
<noinclude><code>
<includeonly>
</noinclude>{|width=800 cellpadding=2 cellspacing=0
{|width=300 cellpadding=2 cellspacing=0 bgcolor=#FFFFFF style="float: right; clear: left; margin: 0 0 20px 20px; border: 1px solid {{{imagebgcolor|#bbbbbb}}}"
|bgcolor="{{{headerbgcolor|#aaaaaa}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{department|Undefined}}} Area'''</font>
|bgcolor="{{{headerbgcolor|#aaaaaa}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{department|Undefined}}} Area'''</font>
|-
|-
|align=center bgcolor="{{{imagebgcolor|#bbbbbb}}}" width="250" rowspan=6|[[File:{{{image|NPA.png}}}|frameless|300px|center|link={{{big_image|File:{{{image}}}}}}]] '''{{{name|Undefined Location}}}'''
|align=center bgcolor="{{{imagebgcolor|#bbbbbb}}}" width="350" colspan=2 |[[File:{{{image|NPA.png}}}|frameless|300px|center|link={{{big_image|File:{{{image}}}}}}]] '''{{{name|Undefined Location}}}'''
|bgcolor="{{{imagebgcolor|#bbbbbb}}}"| '''General'''
|-
|-
|'''Obvious exits:''' {{{exits|Not defined}}}<br>'''Purpose:''' {{{purpose|Not defined}}}<br>'''Access level:''' {{{access|Not defined}}}<br>'''Noteworthy contents:''' {{{contents|Not defined}}}<br>'''Clearance:''' {{{clearance|Not defined}}}<br>
|colspan=2|{{{description|}}}
|-
|-
|bgcolor="{{{imagebgcolor|#bbbbbb}}}"| '''Description'''
|'''Obvious exits'''
|{{{exits|Not defined}}}
|-
|-
|"{{{description|Description not available.}}}"
|'''Purpose'''
|{{{purpose|Not defined}}}
|-
|-
|bgcolor="{{{imagebgcolor|#bbbbbb}}}"| '''[[Guide to mapping|Mapping notes]]'''
|'''Access level'''
|{{{access|Not defined}}}
|-
|-
| '''Security level: '''{{{sec_level|Not defined}}}<br> '''Style: ''' {{{style|Not defined}}}<br> '''Balance Requirements: ''' {{{balance|No major balance requirements}}}<br> '''Other: ''' {{{other|--}}}
|'''Noteworthy contents'''
|}<noinclude></code>
|{{{contents|Not defined}}}
|-
|'''Clearance'''
|{{{clearance|Not defined}}}
|-
|'''Security level'''
|{{{sec_level|Not defined}}}
|-
|'''Style'''
|{{{style|Not defined}}}
|-
|'''Balance Requirements'''
|{{{balance|No major balance requirements}}}
|-
|'''Other Notes'''
|{{{other|--}}}
|-
|colspan=2 align=center style="border-top: 8px solid {{{imagebgcolor|#bbbbbb}}}"|[[File:jobstemp.png|32px|link=Locations]] '''[[Locations]] on /tg/station'''
|}
</includeonly>
 
<noinclude>
This template is intended to be at the top of each of the location pages to provide a basic overview of each location.
This template is intended to be at the top of each of the location pages to provide a basic overview of each location.
== Usage ==
== Usage ==
Example of the finished product. Please document any changes you make to the template code in the parameters and usage sections
Example of the finished product. Please document any changes you make to the template code in the parameters and usage sections


  <nowiki>{{Template:Location</nowiki>
<pre>{{Location
  <nowiki>|headerbgcolor=black</nowiki>
  <nowiki>|headerfontcolor=white</nowiki>
  <nowiki>|imagebgcolor=grey</nowiki>
  <nowiki>|department=Space</nowiki>
  <nowiki>|name=Space</nowiki>
  <nowiki>|image=Space.png</nowiki>
  <nowiki>|big_image=Space.png</nowiki>
  <nowiki>|exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]</nowiki>
  <nowiki>|purpose=A cold, horrible place full of vacuum and a few locations floating around</nowiki>
  <nowiki>|access=</nowiki>
  <nowiki>|contents=Vacuum, dark matter</nowiki>
  <nowiki>|clearance=Anyone</nowiki>
  <nowiki>|description=The Final Frontier.</nowiki>
  <nowiki>|sec_level=None</nowiki>
  <nowiki>|style=Space</nowiki>
  <nowiki>|balance=--</nowiki>
  <nowiki>|other=--</nowiki>
  <nowiki>}}</nowiki>
 
...yields:
{{Template:Location
  |headerbgcolor=black
  |headerbgcolor=black
  |headerfontcolor=white
  |headerfontcolor=white
  |imagebgcolor=grey
  |imagebgcolor=grey
|department=Space
  |name=Space
  |name=Space
  |image=Space.png
  |image=Space.png
  |department=Space
  |big_image=Space.png
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
  |purpose=A cold, horrible place full of vacuum and a few locations floating around
  |purpose=A cold, horrible place full of vacuum and a few locations floating around
Строка 58: Строка 61:
  |balance=--
  |balance=--
  |other=--
  |other=--
  }}
  }}</pre>


 
...yields:
No image defined:
  {{Location
  {{Template:Location
  |headerbgcolor=black
  |headerbgcolor=black
  |headerfontcolor=white
  |headerfontcolor=white
  |imagebgcolor=grey
  |imagebgcolor=grey
  |name=Space
  |name=Space
|image=Space.png
  |department=Space
  |department=Space
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
Строка 79: Строка 82:
  |other=--
  |other=--
  }}
  }}
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]
</noinclude>

Текущая версия от 06:50, 6 июля 2023


This template is intended to be at the top of each of the location pages to provide a basic overview of each location.

Usage[править код]

Example of the finished product. Please document any changes you make to the template code in the parameters and usage sections

{{Location
 |headerbgcolor=black
 |headerfontcolor=white
 |imagebgcolor=grey
 |department=Space
 |name=Space
 |image=Space.png
 |big_image=Space.png
 |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
 |purpose=A cold, horrible place full of vacuum and a few locations floating around
 |access=
 |contents=Vacuum, dark matter
 |clearance=Anyone
 |description=The Final Frontier.
 |sec_level=None
 |style=Space
 |balance=--
 |other=--
 }}

...yields:

Space Area
Файл:Space.png
Space
The Final Frontier.
Obvious exits Space Station 13, Abandoned Satellite, Derelict, Mining Station
Purpose A cold, horrible place full of vacuum and a few locations floating around
Access level
Noteworthy contents Vacuum, dark matter
Clearance Anyone
Security level None
Style Space
Balance Requirements
Other Notes
Locations on /tg/station