Template:Feattype: Difference between revisions
(Новая страница: «<noinclude>This template formats the type of a feat with an appropriate wikilink. Its purpose is to remove a mess of code from template:feat, making that…») |
m (Защищена страница «Шаблон:Feattype» ([Редактирование=Разрешено только администраторам] (бессрочно) [Переименование=Разрешено только админ…) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
---- | ---- | ||
</noinclude>{{ | </noinclude>{{ | ||
#ifeq: {{{1}}} | class | | #ifeq: {{{1}}} | class | классовый| {{ | ||
#ifeq: {{{1}}} | classrace | [[ | #ifeq: {{{1}}} | classrace | [[классовый фит|класс]]/[[расовый фит|раса]] | {{ | ||
#ifeq: {{{1}}} | monster | [[monster feat|monster]] | {{ | #ifeq: {{{1}}} | monster | [[monster feat|monster]] | {{ | ||
#ifeq: {{{1}}} | race | [[ | #ifeq: {{{1}}} | race | [[расовый|race]] | {{ | ||
#ifeq: {{{1}}} | general | [[general feat|general]] | {{ | #ifeq: {{{1}}} | general | [[general feat|general]] | {{ | ||
#ifeq: {{{1}}} | metamagic | [[metamagic]] ([[general feat]]) | {{ | #ifeq: {{{1}}} | metamagic | [[metamagic]] ([[general feat]]) | {{ |
Latest revision as of 17:38, 20 August 2016
This template formats the type of a feat with an appropriate wikilink. Its purpose is to remove a mess of code from template:feat, making that template easier to read.
{{
- ifeq: {{{1}}} | class | классовый| {{
- ifeq: {{{1}}} | classrace | класс/раса | {{
- ifeq: {{{1}}} | monster | monster | {{
- ifeq: {{{1}}} | race | race | {{
- ifeq: {{{1}}} | general | general | {{
- ifeq: {{{1}}} | metamagic | metamagic (general feat) | {{
- ifeq: {{{1}}} | instant | instant | {{
- ifeq: {{{1}}} | instant custom | instant (custom) |
(general feat)
}} }} }} }} }} }} }} }}
This template takes a single unnamed parameter that indicates the type of feat. Special formatting is applied to the following: general, class, race, metamagic, monster, classrace, instant, and "instant custom". All other types are assumed to be a specialization of "general" and formatted accordingly.