User:Stmrlbs/Template/outer
Appearance
< User:Stmrlbs | Template
A. Call inner macro like this {{User:Stmrlbs/Template/inner|var={{{var_outer}}}}}
Results:
- use inner variable with no default - {{{var}}} is "{{{var_outer}}}"
- use inner variable with specific default - {{{var|innerdefault}}} is "{{{var_outer}}}"
- use inner variable with null default - {{{var|}}} is "{{{var_outer}}}"
B. Call inner macro like this {{User:Stmrlbs/Template/inner|var={{{var_outer|outerdefault}}}}}
Results:
- use inner variable with no default - {{{var}}} is "outerdefault"
- use inner variable with specific default - {{{var|innerdefault}}} is "outerdefault"
- use inner variable with null default - {{{var|}}} is "outerdefault"
C. Call inner macro like this {{User:Stmrlbs/Template/inner|var={{{var_outer|}}}}}
Results:
- use inner variable with no default - {{{var}}} is ""
- use inner variable with specific default - {{{var|innerdefault}}} is ""
- use inner variable with null default - {{{var|}}} is ""
D. Call inner macro like this {{User:Stmrlbs/Template/inner|var= }}
Results:
- use inner variable with no default - {{{var}}} is ""
- use inner variable with specific default - {{{var|innerdefault}}} is ""
- use inner variable with null default - {{{var|}}} is ""
E. Call inner macro like this {{User:Stmrlbs/Template/inner}}
Results:
- use inner variable with no default - {{{var}}} is "{{{var}}}"
- use inner variable with specific default - {{{var|innerdefault}}} is "innerdefault"
- use inner variable with null default - {{{var|}}} is ""