Difference between revisions of "Template:CharsheetFooterSource"

From Game Logs
Jump to: navigation, search
m (fix)
m (123)
Line 1: Line 1:
<includeonly>
 
 
{{
 
{{
 
   #vardefine: systemStr |
 
   #vardefine: systemStr |
Line 8: Line 7:
 
   }}
 
   }}
 
}}
 
}}
 +
{{ #var: systemStr }}
 
{{
 
{{
 
   #vardefine: pawaStr |
 
   #vardefine: pawaStr |
Line 16: Line 16:
 
   }}
 
   }}
 
}}
 
}}
 +
{{ #var: pawaStr }}
 
{{
 
{{
 
   #vardefine: pawaLabel |
 
   #vardefine: pawaLabel |
Line 26: Line 27:
 
     {{ #ifexpr: {{{Level}}} | Level | Empty }}
 
     {{ #ifexpr: {{{Level}}} | Level | Empty }}
 
}}
 
}}
{{
+
{{ #var: pawaLabel }}
  #ifeq: {{ #var: pawaLabel }} | Empty |
 
  {{
 
    #vardefine: linkStr | \l html \g \l center \g \l /html \g [[{{{Name}}}]]\l html \g \l /center \g \l /html \g
 
  }} |
 
  {{
 
    {{
 
      #vardefine: eclPrev |
 
      {{
 
        #ifexpr: {{#var: pawaStr}} <= 10
 
          | 0{{#expr: {{#var: pawaStr}}-1}}
 
          | {{#expr: {{#var: pawaStr}}-1}}
 
      }}
 
    }}
 
    {{
 
      #vardefine: eclPrevString |
 
      {{
 
        #ifexpr: {{#var: pawaStr}} = 1
 
        | \l html \g \l span style="display:none" \g [[{{{Name}}} ECL{{ #var: eclPrev }}|\l \l  ECL {{ #var: eclPrev }}]]&nbsp;&nbsp;\l /span \g \l /html \g
 
        | [[{{{Name}}} ECL{{ #var: eclPrev }}|\l \l  ECL {{ #var: eclPrev }}]]&nbsp;&nbsp;\l html \g |\l /html \g &nbsp;&nbsp;
 
      }}
 
    }}
 
    {{
 
      #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}}
 
      }}
 
    }}
 
    {{
 
      #vardefine : linkStr | \l html \g \l center \g \l /html \g {{ #var: eclPrevString }}[[{{{Name}}}]]&nbsp;&nbsp;|&nbsp;&nbsp;[[{{{Name}}} ECL{{ #var: eclNext }}|ECL {{ #var: eclNext }}  \g  \g ]]\l html \g \l /center \g \l /html \g
 
    }}
 
  }}
 
}}
 
{{ #vardefine: eclCategory |
 
  {{ #ifexpr: {{var:pawaLabel}} | Empty |  | [[Category:{{var:pawaLabel}} {{ #var: eclCurrent }}]] }}
 
}}
 
----
 
{{#var: linkStr}}
 
[[Category:Charsheets]]
 
{{#var: eclCategory}}
 
[[Category:{{ #var: systemStr}}]]</includeonly>
 
<noinclude>
 
[[Category:Template Source]]
 
</noinclude>
 

Revision as of 13:36, 31 May 2008

D&D 3.5


Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".