Difference between revisions of "Template:CharsheetFooterSource"
From Game Logs
m (fix) |
(убрал категорию) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
#if: {{{System|}}} | #if: {{{System|}}} | ||
| {{{System}}} | | {{{System}}} | ||
− | | | + | | DnD 3.5 |
}} | }} | ||
}} | }} | ||
Line 12: | Line 12: | ||
{{ | {{ | ||
#if: {{{ECL|}}} | | #if: {{{ECL|}}} | | ||
− | {{{ECL}}} | | + | {{{ECL|}}} | |
{{{Level|}}} | {{{Level|}}} | ||
}} | }} | ||
Line 19: | Line 19: | ||
#vardefine: pawaLabel | | #vardefine: pawaLabel | | ||
{{ | {{ | ||
− | #if: {{{ECL}}} | ECL | + | #if: {{{ECL|}}} | ECL |
}} | }} | ||
}} | }} | ||
Line 25: | Line 25: | ||
#vardefine: pawaLabel | | #vardefine: pawaLabel | | ||
{{ | {{ | ||
− | #if: {{{Level}}} | Level | + | #if: {{{Level|}}} | Level | {{ #var: pawaLabel }} |
}} | }} | ||
}} | }} | ||
− | {{ | + | {{ |
− | # | + | #vardefine: eclPrev | |
− | {{ | + | {{ |
− | + | #ifexpr: {{#var: pawaStr}} <= 10 | |
− | + | | 0{{#expr: {{#var: pawaStr}}-1}} | |
− | + | | {{#expr: {{#var: pawaStr}}-1}} | |
− | + | }} | |
− | + | }} | |
− | + | {{ | |
− | + | #vardefine: eclNext | | |
− | + | {{ | |
− | + | #ifexpr: {{#var: pawaStr}} <= 8 | |
− | + | | 0{{#expr: {{#var: pawaStr}}+1}} | |
− | + | | {{#expr: {{#var: pawaStr}}+1}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
+ | }} | ||
+ | {{ | ||
+ | #vardefine: eclCurrent | | ||
+ | {{ | ||
+ | #ifexpr: {{#var: pawaStr}} <= 9 | ||
+ | | 0{{#var: pawaStr}} | ||
+ | | {{#var: pawaStr}} | ||
+ | }} | ||
}} | }} | ||
---- | ---- | ||
− | {{#var: | + | <html><center></html>{{ #ifexpr: {{#var: pawaStr}} > 1 | [[{{{Name}}} {{ #var: pawaLabel }}{{ #var: eclPrev }}|<< {{ #var: pawaLabel }} {{ #var: eclPrev }}]] | }}[[{{{Name}}}]] | [[{{{Name}}} {{ #var: pawaLabel }}{{ #var: eclNext }}|{{ #var: pawaLabel }} {{ #var: eclNext }} >>]]<html></center></html> |
[[Category:Charsheets]] | [[Category:Charsheets]] | ||
− | |||
{{ #if: {{#var:pawaLabel}} | [[Category: {{#var: pawaLabel}} {{ #var: eclCurrent }}]] }}</includeonly> | {{ #if: {{#var:pawaLabel}} | [[Category: {{#var: pawaLabel}} {{ #var: eclCurrent }}]] }}</includeonly> | ||
<noinclude> | <noinclude> | ||
[[Category:Template Source]] | [[Category:Template Source]] | ||
</noinclude> | </noinclude> |