User:Stmrlbs/sandbox2
This page has been removed from search engines' indexes.
This is a Wikipedia user page. This is not an encyclopedia article or the talk page for an encyclopedia article. If you find this page on any site other than Wikipedia, you are viewing a mirror site. Be aware that the page may be outdated and that the user in whose space this page is located may have no personal affiliation with any site other than Wikipedia. The original page is located at https://en.wikipedia.org/wiki/User:Stmrlbs/sandbox2. |
small infobox
[edit]small infobox
[edit]tables
[edit]Column heading 1 | Column heading 2 | Column heading 3 |
---|---|---|
Row heading 1 | Cell 2 | Cell 3 |
Row heading A | Cell B | Cell C |
Column heading 1 | Column heading 2 | Column heading 3 |
---|---|---|
Row heading 1 | Cell 2 | Cell 3 |
Row heading A | Cell B | Cell C |
defaults
[edit]pass no variables
[edit]macro call: {{User:Stmrlbs/Template/outer}}
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 ""
pass one variable
[edit]macro call: {{User:Stmrlbs/Template/outer|var=aaa}}
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 ""
pass null variable
[edit]macro call: {{User:Stmrlbs/Template/outer|var=}}
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 ""