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

Материал из SS220 Paradise Wiki (SS13)
Перейти к навигации Перейти к поиску
м (+Вес. Всё кроме роста в нижней части необязательно.)
м (Пример использования и переменные шаблона)
Строка 3: Строка 3:
It is designed with single line input in mind and double-lined input will stylistically impact the template and mess up all the spacing.
It is designed with single line input in mind and double-lined input will stylistically impact the template and mess up all the spacing.


tl;dr don't write long strings that break onto multiple lines due to width restrictions. Thanks. -Shadeykins</noinclude><div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 0 0 0.5em 0; padding: 1px; width: 18em; margin-left: 1.4em; margin-bottom: 0.5em; float: right;">
tl;dr don't write long strings that break onto multiple lines due to width restrictions. Thanks. -Shadeykins
 
P.S.
Переменные:
<table>
<tr align=left><th>|name=</th><td>Имя расы</td></tr>
<tr align=left><th>|image=</th><td>Иконка расы</td></tr>
<tr align=left><th>|homeworld=</th><td>Родной мир</td></tr>
<tr align=left><th>|language=</th><td>Язык</td></tr>
<tr align=left><th>|system=</th><td>Система</td></tr>
<tr align=left><th>|height=</th><td>Рост</td></tr>
<tr align=left><th>|weight=</th><td>Вес</td></tr>
<tr align=left><th>|lifespan=</th><td>Время жизни</td></tr>
<tr align=left><th>|breathes=</th><td>Дыхание</td></tr>
</table>
Пример:<pre>{{SpeciesInfo| name      = Бургеры| image      = Burger.png| homeworld  = Бургогес| system    = Икар| language  = Их| height    = 123| weight = 122| lifespan  = 5 лет| breathes  = Всё}}</pre> Даст:
{{SpeciesInfo| name      = Бургеры| image      = Burger.png| homeworld  = Бургогес| system    = Икар| language  = Их| height    = 123| weight = 122| lifespan  = 5 лет| breathes  = Всё}}
</noinclude>
<includeonly><div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 0 0 0.5em 0; padding: 1px; width: 18em; margin-left: 1.4em; margin-bottom: 0.5em; float: right;">
<div style="background: #AC9BDB; border-radius: .2em; color: #FFF; padding: .4em .4em .4em; font-size: 1.2em;"><center>[[file:Goldpin.png|left|24px|link=]]'''{{{name}}}'''[[file:Goldpin.png|right|24px|link=]]</center></div>
<div style="background: #AC9BDB; border-radius: .2em; color: #FFF; padding: .4em .4em .4em; font-size: 1.2em;"><center>[[file:Goldpin.png|left|24px|link=]]'''{{{name}}}'''[[file:Goldpin.png|right|24px|link=]]</center></div>
<div style="background: white;">
<div style="background: white;">
Строка 44: Строка 62:
{{!}}-}}
{{!}}-}}
|}
|}
</div></div></div>
</div></div></div></includeonly>

Версия от 18:30, 14 декабря 2022

This is the page that controls species templates. Please don't edit this template unless you know what you're doing.

It is designed with single line input in mind and double-lined input will stylistically impact the template and mess up all the spacing.

tl;dr don't write long strings that break onto multiple lines due to width restrictions. Thanks. -Shadeykins

P.S. Переменные:

|name=Имя расы
|image=Иконка расы
|homeworld=Родной мир
|language=Язык
|system=Система
|height=Рост
|weight=Вес
|lifespan=Время жизни
|breathes=Дыхание

Пример:

{{SpeciesInfo| name       = Бургеры| image      = Burger.png| homeworld  = Бургогес| system     = Икар| language   = Их| height     = 123| weight = 122| lifespan   = 5 лет| breathes   = Всё}}

Даст:

Goldpin.png
Бургеры
Goldpin.png
Burger.png
Основная информация
Родной мир: Бургогес
Язык: Их
Система: Икар
Физиология
Рост: 123
Вес: 122
Время жизни: 5 лет
Дыхание: Всё