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

Материал из Touhou Wiki
Перейти к навигации Перейти к поиску
мНет описания правки
(Отмена правки 29901; Слишком длинные заголовки.)
 
(не показано 12 промежуточных версий 4 участников)
Строка 1: Строка 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| bodyclass  = vcard; outcell
| bodyclass  = vcard; outcell
| bodystyle  =text-align: left; width: 350px; vertical-align: top; background: #fafffc; border: 1px solid #53d76a; border-spacing: 0px; padding:0.1em;
| bodystyle  =text-align: left; width: 350px; background: #fafffc; border: 1px solid #53d76a; border-spacing: 0px; padding:0.1em;
| above      ={{{title}}}
| above      ={{#If: {{{titleN|}}}| {{{titleN|}}}<br/> }}{{{title|{{{titleEn|}}}}}}
| aboveclass  = vcard; incell_top
| aboveclass  = vcard; incell_top
| abovestyle  =font-size: 1.2em; border: none; margin: 0 0 0.3em; padding: 0.3em 1em; background: #e2ffe5; font-weight: bold;
| abovestyle  =font-size: 1.2em; border: none; margin: 0 0 0.3em; padding: 0.3em 1em; background: #e2ffe5; font-weight: bold;
| headerstyle =background-color:#e2ffe5;
| headerstyle =background-color:#e2ffe5;
| labelstyle  =background: transparent; width:85px; padding: 0.3em
| labelstyle  =background: transparent; width:85px;padding: 0.3em 1em 0.6em;
| image      ={{{image}}}
| image      ={{{image}}}
| caption    =<div style="padding-top:0.3em; line-height:1.2em;"><!--
| caption    =<div style="padding-top:0.3em; line-height:1.2em;"><!--
Строка 12: Строка 12:


| label1  =Разработчик
| label1  =Разработчик
| data1  ={{#If: {{{developer|{{{developer1|}}}}}} | {{{developer|{{{developer1}}}}}}|}} {{#if:{{{developer2|}}}| / <br /> {{{developer2}}}|}}
| data1  ={{#If: {{{developer|{{{developer1|}}}}}} | {{{developer|{{{developer1}}}}}}|}} {{#if:{{{developer2|}}}| / {{{developer2}}}|}}
| label3  =Издатель
| label3  =Издатель
| data3  ={{#If: {{{publisher|{{{publisher1|}}}}}} | {{{publisher|{{{publisher1}}}}}}|}} {{#if:{{{publisher2|}}}| / <br /> {{{publisher2}}}|}}
| data3  ={{#If: {{{publisher|{{{publisher1|}}}}}} | {{{publisher|{{{publisher1}}}}}}|}} {{#if:{{{publisher2|}}}| / {{{publisher2}}}|}}
| label5  =Дата выпуска
| label5  =Дата выпуска
| data5  ={{{released|}}} <!--
| data5  ={{{released|}}} <!--
Строка 30: Строка 30:
}}<!--
}}<!--


--><!-- [[Category:{{#switch:{{{type}}}|fangame=Fangames|official game=Official Games|related game=Related Games}}]]--><!--
--><!--[[Категория:{{#switch:{{{type}}}|fangame=Неофициальные игры|official game=Официальные игры|related game=Связанные игры}}]]--><!--
--><!-- [[Category:{{#If: {{{publisher1Cat|}}} | {{{publisher1Cat}}}|{{{publisher1}}}}}]]--><!--
--><!-- [[Category:{{#If: {{{publisher1Cat|}}} | {{{publisher1Cat}}}|{{{publisher1}}}}}]]--><!--
--><!-- {{#If: {{{publisher2|}}} | [[Category:{{#If: {{{publisher2Cat}}}|{{{publisher2Cat}}}}}]]}}--><!--
--><!-- {{#If: {{{publisher2|}}} | [[Category:{{#If: {{{publisher2Cat}}}|{{{publisher2Cat}}}}}]]}}--><!--

Текущая версия от 20:55, 5 октября 2016


(i) Документация

Во избежание поломок страниц, использующих данный шаблон, желательно экспериментировать в песочнице и тестовой странице этого шаблона.
Правка и тестирование шаблонов в песочнице