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

Материал из SS220 Paradise EX
Перейти к навигации Перейти к поиску
(Локализация на русский. Надеюсь, ниче не сломаю (опять))
(Возвращение шаблона в исходник. Возможны последующие правки, буду следить)
Строка 1: Строка 1:
 
<noinclude><code></noinclude>
 
<noinclude><code></noinclude>
 
{| class="wikitable" width="100%" cellpadding="2" cellspacing="0"
 
{| class="wikitable" width="100%" cellpadding="2" cellspacing="0"
| bgcolor="{{{headerbgcolor|#aaaaaa}}}" align="center" colspan=3 | {{Color|{{{headerfontcolor|#000000}}}|'''{{{department|Неуказанный}}} отдел'''}}
+
| bgcolor="{{{headerbgcolor|#aaaaaa}}}" align="center" colspan=3 | {{Color|{{{headerfontcolor|#000000}}}|'''{{{department|Undefined}}} Area'''}}
 
|- style="font-weight: bold; text-align: center; background: {{{imagebgcolor|#bbbbbb}}};"
 
|- style="font-weight: bold; text-align: center; background: {{{imagebgcolor|#bbbbbb}}};"
| Сведения
+
| General
{{#if:{{{description|}}}|{{!}} Описание|}}
+
{{#if:{{{description|}}}|{{!}} Description|}}
 
|- valign="top"
 
|- valign="top"
 
|
 
|
 
{|
 
{|
| '''Назначение:''' || {{{purpose|Не определено}}}
+
| '''Obvious exits:''' || {{{exits|Undefined.}}}
 
|-
 
|-
| '''Уровень доступа:''' || {{{access|Не определен}}}
+
| '''Purpose:''' || {{{purpose|Undefined.}}}
 
|-
 
|-
| '''Стоящие предметы:''' || {{{contents|Не определены}}}
+
| '''Access level:''' || {{{access|Undefined.}}}
 
|-
 
|-
| '''Допуск:''' || {{{clearance|Не определен}}}
+
| '''Noteworthy contents:''' || {{{contents|Undefined.}}}
 
|-
 
|-
| '''Уровень безопасности:''' || {{{sec_level|Не определен}}}
+
| '''Clearance:''' || {{{clearance|Undefined.}}}
|}
 
{| class="wikitable" width="100%" style="text-align: center;"
 
|+
 
| style="width: 150pt; center;" |{{{exits NW|Северо-запад}}}
 
| style="width: 150pt; center;" |{{{exits N|Север}}}
 
| style="width: 150pt; center;" |{{{exits NE|Северо-восток}}}
 
|-
 
| style="width: 150pt; center;" |{{{exits W|Запад}}}
 
| style="width: 64pt; center;" |[[Файл:CenterLocation.png|центр|безрамки|64x64пкс]]
 
| style="width: 150pt; center;" |{{{exits E|Восток}}}
 
 
|-
 
|-
| style="width: 150pt; center;" |{{{exits SW|Юго-запад}}}
+
| '''Security level:''' || {{{sec_level|Undefined.}}}
| style="width: 150pt; center;" |{{{exits S|Юг}}}
 
| style="width: 150pt; center;" |{{{exits SE|Юго-восток}}}
 
 
|}
 
|}
 
{{#if:{{{description|}}}|{{!}} {{{description}}}|}}
 
{{#if:{{{description|}}}|{{!}} {{{description}}}|}}
Строка 37: Строка 25:
 
|}
 
|}
  
[[Категория:Локации]]<noinclude></code>
+
[[Category:locations]]<noinclude></code>
  
Этот шаблон распологается в верхней части каждой страницы о локации и предоставляет общий обзор о ней.
+
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
 
     <nowiki>{{Template:Location</nowiki>
 
     <nowiki>{{Template:Location</nowiki>
 
     <nowiki>| headerbgcolor = darkblue</nowiki>
 
     <nowiki>| headerbgcolor = darkblue</nowiki>
 
     <nowiki>| headerfontcolor = white</nowiki>
 
     <nowiki>| headerfontcolor = white</nowiki>
 
     <nowiki>| imagebgcolor = lightblue</nowiki>
 
     <nowiki>| imagebgcolor = lightblue</nowiki>
     <nowiki>| department = Общий</nowiki>
+
     <nowiki>| department = General</nowiki>
     <nowiki>| name = Монетный двор и хранилище</nowiki>
+
     <nowiki>| name = Mint and Mint Vault</nowiki>
 
     <nowiki>| image = Mint.png</nowiki>
 
     <nowiki>| image = Mint.png</nowiki>
 
     <nowiki>| big_image = Burger.png</nowiki>
 
     <nowiki>| big_image = Burger.png</nowiki>
     <nowiki>| exits = Северный коридор, южные [[Maintenance|техтоннели]], восточные [[Maintenance|техтоннели]]</nowiki>
+
     <nowiki>| exits = Hallway north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east</nowiki>
     <nowiki>| purpose = Чеканка и хранение монет</nowiki>
+
     <nowiki>| purpose = Production and storage of coins</nowiki>
     <nowiki>| access = Монетный двор для приема и погрузки, хранилище для хранения монет</nowiki>
+
     <nowiki>| access = Mint for reception desks and loading area, Mint vault for vault</nowiki>
     <nowiki>| contents = Монетный пресс, несколько монет</nowiki>
+
     <nowiki>| contents = Coin press, Some coins</nowiki>
     <nowiki>| clearance = [[Captain|Капитан]], [[Head of Personnel|Глава персонала]], [[Quartermaster|Завхоз]], [[Shaft Miner|Шахтер]], [[Chief Engineer|Главный инженер]]</nowiki>
+
     <nowiki>| clearance = [[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]</nowiki>
     <nowiki>| description = Полузащищенное помещение, в которое можно попасть с юга и востока через [[Maintenance|техтоннели]], а также через коридор с севера. Похоже на банк, но предназначено для хранения монет и иных ценных предметов. Хранилище, как ни странно, защищено намного слабее, чем [[Vault|главное хранилище]].</nowiki>
+
     <nowiki>| description = A semi-protected room, accessible from the south and east from [[Maintenance|maintenance]] and from the Hallways in the north. Modeled to look like a bank, it is intended to store money and other valuables. Its vault is a lot less protected than the [[Vault| main vault]] though.</nowiki>
     <nowiki>| sec_level = От среднего до высокого</nowiki>
+
     <nowiki>| sec_level = Medium to High</nowiki>
 
     <nowiki>}}</nowiki>
 
     <nowiki>}}</nowiki>
  
На выходе получаем:
+
... yields:
  
 
{{Template:Location
 
{{Template:Location
Строка 66: Строка 54:
 
| headerfontcolor = white
 
| headerfontcolor = white
 
| imagebgcolor = lightblue
 
| imagebgcolor = lightblue
| department = Общий
+
| department = General
| name = Монетный двор и хранилище
+
| name = Mint and Mint Vault
 
| image = Mint.png
 
| image = Mint.png
 
| big_image =
 
| big_image =
| exits = Северный коридор, южные [[Maintenance|техтоннели]], восточные [[Maintenance|техтоннели]]
+
| exits = Hallway north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
| purpose = Чеканка и хранение монет
+
| purpose = Production and storage of coins
| access = Монетный двор для приема и погрузки, хранилище для хранения монет
+
| access = Mint for reception desks and loading area, Mint vault for vault
| contents = Монетный пресс, несколько монет
+
| contents = Coin press, Some coins
| clearance = [[Captain|Капитан]], [[Head of Personnel|Глава персонала]], [[Quartermaster|Завхоз]], [[Shaft Miner|Шахтер]], [[Chief Engineer|Главный инженер]]
+
| clearance = [[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]
| description = Полузащищенное помещение, в которое можно попасть с юга и востока через [[Maintenance|техтоннели]], а также через коридор с севера. Похоже на банк, но предназначено для хранения монет и иных ценных предметов. Хранилище, как ни странно, защищено намного слабее, чем [[Vault|главное хранилище]].
+
| description = A semi-protected room, accessible from the south and east from [[Maintenance|maintenance]] and from the hallways in the north. Modeled to look like a bank, it is intended to store money and other valuables. Its vault is a lot less protected than the [[Vault| main vault]] though.
| sec_level = От среднего до высокого
+
| sec_level = Medium to High
 
}}
 
}}
  
Без указания большого изображения:
+
And with no image defined:
  
 
{{Template:Location
 
{{Template:Location
Строка 85: Строка 73:
 
| headerfontcolor = white
 
| headerfontcolor = white
 
| imagebgcolor = lightblue
 
| imagebgcolor = lightblue
| department = Общий
+
| department = General
| name = Монетный двор и хранилище
+
| name = Mint and Mint Vault
 
| image = Mint.png
 
| image = Mint.png
| exits = Северный коридор, южные [[Maintenance|техтоннели]], восточные [[Maintenance|техтоннели]]
+
| exits = Hallway north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
|exits NW=
+
| purpose = Production and storage of coins
|exits N= Северный коридор
+
| access = Mint for reception desks and loading area, Mint vault for vault
|exits NE=
+
| contents = Coin press, Some coins
|exits W=
+
| clearance = [[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]
|exits E= Восточные [[Maintenance|техтоннели]]
+
| description = A semi-protected room, accessible from the south and east from [[Maintenance|maintenance]] and from the main hallway in the north. Modeled to look like a bank, it is intended to store money and other valuables. Its vault is a lot less protected than the [[Vault| main vault]] though.
|exits SW=
+
| sec_level = Medium to High
|exits S= Южные [[Maintenance|техтоннели]]
 
|exits SE=
 
| purpose = Чеканка и хранение монет
 
| access = Монетный двор для приема и погрузки, хранилище для хранения монет
 
| contents = Монетный пресс, несколько монет
 
| clearance = [[Captain|Капитан]], [[Head of Personnel|Глава персонала]], [[Quartermaster|Завхоз]], [[Shaft Miner|Шахтер]], [[Chief Engineer|Главный инженер]]
 
| description = Полузащищенное помещение, в которое можно попасть с юга и востока через [[Maintenance|техтоннели]], а также через коридор с севера. Похоже на банк, но предназначено для хранения монет и иных ценных предметов. Хранилище, как ни странно, защищено намного слабее, чем [[Vault|главное хранилище]].
 
| sec_level = От среднего до высокого
 
 
}}
 
}}
  
[[Категория:Шаблоны]]</noinclude>
+
[[Category:Templates]]</noinclude>

Версия 06:37, 15 февраля 2021

Undefined Area
General
Obvious exits: Undefined.
Purpose: Undefined.
Access level: Undefined.
Noteworthy contents: Undefined.
Clearance: Undefined.
Security level: Undefined.


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

   {{Template:Location
   | headerbgcolor = darkblue
   | headerfontcolor = white
   | imagebgcolor = lightblue
   | department = General
   | name = Mint and Mint Vault
   | image = Mint.png
   | big_image = Burger.png
   | exits = Hallway north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
   | purpose = Production and storage of coins
   | access = Mint for reception desks and loading area, Mint vault for vault
   | contents = Coin press, Some coins
   | clearance = [[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]
   | description = A semi-protected room, accessible from the south and east from [[Maintenance|maintenance]] and from the Hallways in the north. Modeled to look like a bank, it is intended to store money and other valuables. Its vault is a lot less protected than the [[Vault| main vault]] though.
   | sec_level = Medium to High
   }}

... yields:


General Area
General Description
Obvious exits: Hallway north, maintenance south, maintenance east
Purpose: Production and storage of coins
Access level: Mint for reception desks and loading area, Mint vault for vault
Noteworthy contents: Coin press, Some coins
Clearance: Captain, Head of Personnel, Quartermaster, Shaft Miner, Chief Engineer
Security level: Medium to High
A semi-protected room, accessible from the south and east from maintenance and from the hallways in the north. Modeled to look like a bank, it is intended to store money and other valuables. Its vault is a lot less protected than the main vault though.
caption=Mint and Mint Vault

And with no image defined:


General Area
General Description
Obvious exits: Hallway north, maintenance south, maintenance east
Purpose: Production and storage of coins
Access level: Mint for reception desks and loading area, Mint vault for vault
Noteworthy contents: Coin press, Some coins
Clearance: Captain, Head of Personnel, Quartermaster, Shaft Miner, Chief Engineer
Security level: Medium to High
A semi-protected room, accessible from the south and east from maintenance and from the main hallway in the north. Modeled to look like a bank, it is intended to store money and other valuables. Its vault is a lot less protected than the main vault though.
caption=Mint and Mint Vault