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

Материал из Touhou Wiki
Перейти к навигации Перейти к поиску
мНет описания правки
мНет описания правки
(не показано 25 промежуточных версий 4 участников)
Строка 1: Строка 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
|bodyclass  = vcard; outcell
|bodyclass  = vcard outcell
|bodystyle  = text-align:left; width:300px;
|bodystyle  = text-align: left; width: 350px; vertical-align: top; background: #f9fbfd; border: 1px solid #cedff2; border-spacing: 0px; padding:0.1em;
|above      = <div style="background: #DDE6FF;">{{#if: {{{nameJp|}}} |'''{{lang|ja|{{{nameJp}}}}}'''<br />}}{{{name|{{{nameRu}}}}}}{{#if:{{{nameIPA|}}}|<br /><span style="font-size:11px">{{{nameIPA}}}</span>}}{{#if:{{{nameAlt|}}}|<span style="font-size: 11px"><br />''{{{nameAlt}}}''</span>}}</div>
|above      = {{#if: {{{nameJp|}}} |'''{{lang|ja|{{{nameJp}}}}}'''<br />}}{{{nameRu|}}}{{#if:{{{nameIPA|}}}|<br /><span style="font-size:11px">{{{nameIPA}}}</span>}}{{#if:{{{nameAlt|}}}|<span style="font-size: 11px"><br />''{{{nameAlt}}}''</span>}}
|aboveclass = vcard; incell_top
|abovestyle = font-size: 1.2em; border: none; margin: 0 0 0.3em; padding: 0.3em 1em; background: #f0f1ff; font-weight: bold;
|labelstyle = background:transparent; width:65px;
|labelstyle = background:transparent; width:65px; padding: 0.3em 1em 0.6em;
|headerstyle= text-align:left;
|headerstyle= text-align:left;
|datastyle  = text-align:left;
|datastyle  = text-align:left;
|image    = {{{image|No 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;"><!--
                     -->{{{caption|}}}</div><br />{{#if:{{{chartitle|}}}|<span style="font-size: 12px">{{{chartitle}}}</span><br />''См. также другие [[прозвища персонажей]]''|}}
                     -->{{{caption|}}}</div><br />{{#if:{{{chartitle|}}}|<span style="font-size: 12px">{{{chartitle}}}</span><br />''См. также другие [[титулы персонажей]]''|}}
|label1  = Кличка
|label1  = Прозвище
|data1  = {{{nickname|}}}
|data1  = {{{nickname|}}}
|label2  = Раса
|label2  = Раса
|data2  = {{{species|Неизвестна}}}
|data2  = {{{species|Неизвестна}}}
|label3  = Способности
|label3  = [[Персонажи/Способности|Способности]]
|data3  = {{{abilities|Неизвестны}}}
|data3  = {{{abilities|Неизвестны}}}
|label4  = Возраст
|label4  = Возраст
|data4  = {{{age|}}}
|data4  = {{{age|}}}
|label5  = Занятия
|label5  = Занятия
|data5  = {{{occupation|Unknown}}}
|data5  = {{{occupation|}}}
|label6  = Место жительства
|label6  = Место жительства
|data6  = {{{location|Unknown}}}
|data6  = {{{location|Неизвестно}}}
|label7  = Взаимоотношения
|label7  = Взаимоотношения
|data7  = {{{relationships|}}}
|data7  = {{{relationships|}}}
|header8 = {{#if:{{{MusicThemes|}}}|<div style="text-align:center;background: #DDE6FF"><span style="font-size: 12px">Музыкальные темы</span></div>}}
|header8 = {{#if:{{{MusicThemes|}}}|<div style="text-align:center;background: #f0f1ff"><span style="font-size: 12px">Музыкальные темы</span></div>}}
|class9  = incell
|class9  = incell
|data9  = {{#if:{{{MusicThemes|}}}|<toggledisplay showtext="Показать музыкальные темы" hidetext="Скрыть музыкальные темы">
|data9  = {{#if:{{{MusicThemes|}}}|<div class="mw-collapsible mw-collapsed">
{{{MusicThemes}}}
{{{MusicThemes}}}
</toggledisplay>|}}
</div>|}}
|class10  = incell
|class10  = incell
|header10 = <div style="text-align:center;background: #DDE6FF;"><span style="font-size: 12px">Появления</span></div>
|header10 = {{#if:{{{appOfficialgames|}}}{{{appPrintworks|}}}{{{appMusicCDs|}}}{{{appMiscworks|}}}{{{appOther|}}}{{{appearances|}}}|<div style="text-align:center;background: #f0f1ff;"><span style="font-size: 12px">Появления</span></div>}}
|header11= {{#if:{{{appOfficialgames|}}}|Официальные игры}}
|header11= {{#if:{{{appOfficialgames|}}}|Официальные игры}}
|data12  = {{#if:{{{appOfficialgames|}}}|<toggledisplay showtext="Показать" hidetext="Скрыть">
|data12  = {{#if:{{{appOfficialgames|}}}|<div class="mw-collapsible mw-collapsed">
{{{appOfficialgames|}}}
{{{appOfficialgames|}}}
</toggledisplay>}}
</div>}}
|header13= {{#if:{{{appPrintworks|}}}|Печатные издания}}
|header13= {{#if:{{{appPrintworks|}}}|Печатные издания}}
|data14  = {{#if:{{{appPrintworks|}}}|<toggledisplay showtext="Показать" hidetext="Скрыть">
|data14  = {{#if:{{{appPrintworks|}}}|<div class="mw-collapsible mw-collapsed">
{{{appPrintworks|}}}
{{{appPrintworks|}}}
</toggledisplay>}}
</div>}}
|header15= {{#if:{{{appMusicCDs|}}}|Музыкальные CD}}
|header15= {{#if:{{{appMusicCDs|}}}|Музыкальные CD}}
|data16  = {{#if:{{{appMusicCDs|}}}|<toggledisplay showtext="Показать" hidetext="Скрыть">
|data16  = {{#if:{{{appMusicCDs|}}}|<div class="mw-collapsible mw-collapsed">
{{{appMusicCDs|}}}
{{{appMusicCDs|}}}
</toggledisplay>}}
</div>}}
|header17= {{#if:{{{appMiscworks|}}}|Прочие работы}}
|header17= {{#if:{{{appMiscworks|}}}|Прочие работы}}
|data18  = {{#if:{{{appMiscworks|}}}|<toggledisplay showtext="Показать" hidetext="Скрыть">
|data18  = {{#if:{{{appMiscworks|}}}|<div class="mw-collapsible mw-collapsed">
{{{appMiscworks|}}}
{{{appMiscworks|}}}
</toggledisplay>}}
</div>}}
|header19 = {{#if:{{{appOther|}}}|Прочее}}
|header19 = {{#if:{{{appOther|}}}|Прочее}}
|data20  = {{#if:{{{appOther|}}}|<toggledisplay showtext="Показать" hidetext="Скрыть">
|data20  = {{#if:{{{appOther|}}}|<div class="mw-collapsible mw-collapsed">
{{{appOther|}}}
{{{appOther|}}}
</toggledisplay>}}
</div>}}
|header21= {{#if:{{{appearances|}}}|Официальные игры}}
|header21= {{#if:{{{appearances|}}}|Официальные игры}}
|data22  = {{#if:{{{appearances|}}}|<toggledisplay showtext="Показать" hidetext="Скрыть">
|data22  = {{#if:{{{appearances|}}}|<div class="mw-collapsible mw-collapsed">
{{{appearances|}}}
{{{appearances|}}}
</toggledisplay>}}
</div>}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{doc}}
[[de:Vorlage:Infobox Character]]
[[de:Vorlage:Infobox Character]]
[[en:Template:Infobox Character]]
[[en:Template:Infobox Character]]
[[es:Plantilla:Infobox Character]]
[[es:Plantilla:Infobox Character]]
[[fr:Modèle:Personnage]]
[[pl:Szablon:Infobox Character]]
[[pl:Szablon:Infobox Character]]
[[sv:Template:Karaktärsinfo]]
[[zh:模板:角色资料]]
[[zh:模板:角色资料]]
[[Категория:Шаблоны-карточки]]</noinclude>
[[Категория:Шаблоны-карточки]]</noinclude>

Версия от 12:48, 2 мая 2015

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

The Infobox Character is used for character pages. Copy the following box and fill it in. Extra notes are after the box, how to use can be read on the "Standardization of Character Pages" guidelines. If you want to have a "character" infobox in your user page it is suggested to use Infobox Person instead.

Usage

{{Infobox Character
| nameJp           =Name in Japanese
| nameEn           =Name in English
| nameIPA          =Name pronunciation in Japanese IPA (with soundfile link)
| nameAlt          =An alternative name for the character, or alternative/incorrect romanization possibly in use
| image            =Image of the latest appearance of the character
| caption          =Caption that goes under the image
| chartitle        =Character title
| nickname         =Character's official nickname (not be confused with nameAlt)
| species          =What species is the character (see their official profile)
| abilities        =Abilities of the character (see their official profile)
| age              =Age of the character
| occupation       =The occupation of the character
| location         =Where does the character live
| MusicThemes      =Official music themes
| appOfficialgames =Any appearances in official games
| appPrintworks    =Any appearances in print works
| appMusicCDs      =Any appearances in music CDs
| appMiscworks     =Any appearances in miscellaneous works by ZUN, one-off images, etc.
| appOther         =Any appearances in other works (Seihou, Samidare, etc.)
}}

Parameters

nameIPA

The pronunciation of the name in Japanese IPA. Any soundfiles that demonstrate the pronunciation should be linked here.

chartitle

The official title for a character. When it is in Japanese, use {{H:title}}. Use the most common one for a character.

For example: "Shrine Maiden of Paradise" rather than "Flying Mysterious Shrine Maiden" (from Double Spoiler)
nickname

The official nickname for a character.

For example "Captain Murasa" (ムラサ船長).
age

For most characters a age has never been specified. For those leave it out, unless there is a 100% certain change a character is approximately 1000 years old. You may add "immortal" (applies for few characters) or "deceased".

MusicThemes

The official music themes where it has been specified it is the characters their music theme. Again, also use here {{H:title}}.

For example, "The Youkai Mountain ~ Mysterious Mountain" is Aya's theme, but also appeared in Double Spoiler, not as her theme. The latter should not be added.
appOfficialgames/Printworks/MusicCDs/Muscworks/Other

The character appeared in the media, mostly physically (though, dialogue isn't necessary. So being "mentioned" doesn't apply here (but may be added in "Trivia") and "Official Sources".

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