Шаблон:Release infobox — различия между версиями
Материал из Guild Wars 2 wiki
Blood (обсуждение | вклад) (Новая страница: «{{#set: Has context=Release | Has release page={{PAGENAME}} |Has canonical name={{{name|{{trim|{{#explode:{{PAGENAME}}|(|0}}}}}}} }}<!-- Default properties for th…») |
Blood (обсуждение | вклад) |
||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 1: | Строка 1: | ||
− | {{#set: Has context=Release | Has release page={{PAGENAME}} |Has canonical name={{{name|{{trim|{{#explode:{{PAGENAME}}|(|0}}}}}}} }}<!-- Default properties for the type of page -->{{infobox status|{{{status | + | {{wikipopup|{{{quote|}}}}}{{wikipopup quotation|Official website}}{{#set: Has context=Release|Has release page={{PAGENAME}}|Has canonical name={{{name|{{trim|{{#explode:{{PAGENAME}}|(|0}}}}}}}|Has release banner image={{#if:{{{banner|}}}|File:{{{banner}}}|}}}}<!-- Default properties for the type of page -->{{infobox status|{{{status|}}}}}<!-- |
− | -->[[ | + | -->[[File:{{{banner|Tower of Nightmares banner.jpg}}}|400px|right]] |
− | {{Quotation| | + | {{Quotation|Официальный сайт| |
{{{quote|}}} | {{{quote|}}} | ||
}}<!-- | }}<!-- | ||
AUTOCATEGORIZE | AUTOCATEGORIZE | ||
− | -->{{#if: {{{date|}}} | {{#set: Has release date={{{date|}}} }} }} | + | -->{{#if: {{{date|}}} | {{#set: Has release date={{{date|}}} }} }}<!-- |
− | <noinclude> | + | -->{{#if: {{{end date|}}} | {{#set: Has end date={{{end date|}}} }} }}<!-- |
+ | --><noinclude> | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
Строка 20: | Строка 21: | ||
;date | ;date | ||
:YYYY-MM-DD. Same date sequence as the update page. Sets [[Property:Has release date]]. | :YYYY-MM-DD. Same date sequence as the update page. Sets [[Property:Has release date]]. | ||
+ | ;end date | ||
+ | :YYYY-MM-DD. Optional end date for festivals. Sets [[Property:Has end date]]. | ||
;banner | ;banner | ||
:The file used for the banner image. Sets [[Property:Has release banner image]]. | :The file used for the banner image. Sets [[Property:Has release banner image]]. |
Текущая версия на 09:24, 26 января 2022
“
— Официальный сайт
Usage[править]
{{Release infobox | date = YYYY-MM-DD | banner = <release name> banner.jpg | quote = <quotation from website> }}
Parameters[править]
- date
- YYYY-MM-DD. Same date sequence as the update page. Sets Property:Has release date.
- end date
- YYYY-MM-DD. Optional end date for festivals. Sets Property:Has end date.
- banner
- The file used for the banner image. Sets Property:Has release banner image.
- quote
- The ArenaNet official website quote used for the release.
- name
- Optional. Sets Property:Has canonical name.
Notes[править]
- Not to be confused with: Template:Infobox requires, a helper template for all infoboxes