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

Материал из MassMeta
Перейти к навигации Перейти к поиску
imported>Senefi
Нет описания правки
imported>Senefi
(Undo revision 50288 by Senefi (talk) moving changes to a private user page)
 
Строка 4: Строка 4:
|-
|-
|align=center bgcolor="{{{imagebgcolor|#bbbbbb}}}" width="350" colspan=2 |[[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}}}'''
{{#if|{{{image_2|}}}
|{{{!}}}-
{{{!}}}align=center bgcolor="{{{imagebgcolor|#bbbbbb}}}" width="350" colspan=2 |[[File:{{{image_2|NPA.png}}}|frameless|300px|center|link={{{big_image_2|File:{{{image_2}}}}}}]]||}}
|-
|-
|colspan=2|{{{description|}}}
|colspan=2|{{{description|}}}
Строка 73: Строка 70:
  |name=Space
  |name=Space
  |image=Space.png
  |image=Space.png
|image_2=Space.png
  |department=Space
  |department=Space
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]

Текущая версия от 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