Шаблон:Historical content — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
(не показаны 4 промежуточные версии этого же участника) | |||
Строка 1: | Строка 1: | ||
− | <div style="margin: 10px auto; padding-left:10px; width: 60%; background: | + | <div class="notice metadata" style="margin: 10px auto; padding-left:10px; width: 60%; background: darkblue;" title="Исторический контент"> |
<div style="background: #F7F7F7; border: 1px solid silver; border-left: none; padding: 0.5em 1em;"> | <div style="background: #F7F7F7; border: 1px solid silver; border-left: none; padding: 0.5em 1em;"> | ||
{| cellpadding="0" cellspacing="0" style="background-color: transparent;" | {| cellpadding="0" cellspacing="0" style="background-color: transparent;" | ||
− | | valign="middle" | [[File:Historical content.png|90px| | + | | valign="middle" | [[File:Historical content.png|90px|История]] |
− | | valign="middle" style="padding-left: 1em" | ''Эта страница содержит информацию об элементе, механике или особенности Guild Wars 2, которые были удалены или заменены.''<br>'''Информация на данной странице не относится к текущей версии игры, или контент больше не доступен.''' | + | | valign="middle" style="padding-left: 1em" | ''Эта страница содержит информацию об элементе, механике или особенности Guild Wars 2, которые были удалены или заменены. {{#if: {{{date|}}} | ([[Game updates/{{#time:Y-m-d | {{{date}}} }}|{{#time: j xg Y | {{{date}}} }}]]) }} ''<br>'''Информация на данной странице не относится к текущей версии игры, или этот контент больше не доступен.'''{{#if: {{{1|}}} | <br /><br />'''Примечания''': ''{{{1}}}'' }} |
|} | |} | ||
</div> | </div> | ||
− | </div><includeonly>{{ #if: {{NAMESPACE}} | | [[Category:Historical content]]}}</includeonly><noinclude> | + | </div><includeonly>{{#if: {{NAMESPACE}} || {{#switch: {{lc:{{{context|{{#show: {{PAGENAME}} | ?Has context }}}}}}} |
+ | | achievement = [[Category:Historical achievements]] | ||
+ | | event = [[Category:Historical events]] | ||
+ | | effect = [[Category:Historical effects]] | ||
+ | | item = [[Category:Historical items]] | ||
+ | | location = [[Category:Historical locations]] | ||
+ | | npc = [[Category:Historical NPCs]] | ||
+ | | object = [[Category:Historical objects]] | ||
+ | | recipe = [[Category:Historical recipes]] | ||
+ | | renown heart = [[Category:Historical renown hearts]] | ||
+ | | skill = [[Category:Historical skills]] | ||
+ | | skin = [[Category:Historical skins]] | ||
+ | | story = [[Category:Historical stories]] | ||
+ | | trait = [[Category:Historical traits]] | ||
+ | | #default = [[Category:Historical content]] | ||
+ | }} }}</includeonly><noinclude> | ||
+ | |||
== Usage == | == Usage == | ||
− | This is a notice template for content that no longer exists in the game. The page will be added to [[:Category:Historical content]]. An [[:Category:Infobox templates| infobox]] will place this tag if | + | This is a notice template for content that no longer exists in the game. The page will be added to [[:Category:Historical content]] or one of the historical subcategories depending on its context. An [[:Category:Infobox templates| infobox]] will place this tag if its status is marked as historical. |
− | |||
<pre> | <pre> | ||
{{historical content}} | {{historical content}} | ||
+ | {{historical content|content description}} | ||
+ | |||
+ | Within an infobox | ||
+ | | status = historical | ||
</pre> | </pre> | ||
+ | |||
+ | === Parameters === | ||
+ | ;1 ''(unnamed parameter)'' | ||
+ | :Content description — used to explain why something is historical. | ||
+ | ;context | ||
+ | :Optional. If using this template outside of an infobox, this parameter can be used to set the precise historical content category. Possible options are as follows: | ||
+ | :* achievement | ||
+ | :* event | ||
+ | :* effect | ||
+ | :* item | ||
+ | :* location | ||
+ | :* npc | ||
+ | :* object | ||
+ | :* recipe | ||
+ | :* renown heart | ||
+ | :* skill | ||
+ | :* skin | ||
+ | :* story | ||
+ | :* trait | ||
+ | ;date | ||
+ | :Optional. Creates a link to the game update page which caused the content to become historical. Format: <code>YYYY-MM-DD</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{tl|discontinued content}} | ||
+ | * {{tl|future content}} | ||
+ | * {{tl|unimplemented content}} | ||
[[Category:Notice templates|Historical content]]</noinclude> | [[Category:Notice templates|Historical content]]</noinclude> |
Текущая версия на 22:11, 10 июня 2018
Usage[править]
This is a notice template for content that no longer exists in the game. The page will be added to Category:Historical content or one of the historical subcategories depending on its context. An infobox will place this tag if its status is marked as historical.
{{historical content}} {{historical content|content description}} Within an infobox | status = historical
Parameters[править]
- 1 (unnamed parameter)
- Content description — used to explain why something is historical.
- context
- Optional. If using this template outside of an infobox, this parameter can be used to set the precise historical content category. Possible options are as follows:
- achievement
- event
- effect
- item
- location
- npc
- object
- recipe
- renown heart
- skill
- skin
- story
- trait
- date
- Optional. Creates a link to the game update page which caused the content to become historical. Format:
YYYY-MM-DD
See also[править]
- {{discontinued content}}
- {{future content}}
- {{unimplemented content}}