Test-ParserFunctions-in-ExternalData: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
====ExternalData without wiki table markup==== | ====ExternalData without wiki table markup==== | ||
{{#for_external_table: Wiki User "{{{WikiUsername}}}" is {{{Role}}} "{{{Name}}}", who is a {{#ifeq: "{{{Role}}}" | "Manager" | volunteer | non-volunteer ({{{Role}}} != Manager).<p>}} }} | {{#for_external_table: {{ #if: {{{Role|}}} | Role is defined and non-empty | Role is undefined or empty}}. {{ #ifeq: {{{Role|+}}} | {{{Role|-}}} | Role is defined | Role is undefined }}. Wiki User "{{{WikiUsername}}}" is {{{Role}}} "{{{Name}}}", who is a {{#ifeq: "{{{Role}}}" | "Manager" | volunteer | non-volunteer ({{{Role}}} != Manager).<p>}} }} | ||
Revision as of 23:42, 22 May 2020
TEST
Current Roster
Test Ifeq & Ifexist Outside ExternalData call, with no variables:
Test Ifeq: Result is.... Mharrit1 = Mharrit1
Test IfExist: Result is.... Mharrit1 User Page Exists
Test ifexist in an ExternalData call:
Name | Wiki User Page | Role | Test |
---|
ExternalData without wiki table markup
Use Display External Table
Name | Role | BestEmail | WikiUsername
|
---|
ManagerData Template:
|-
| {{{Role}}}
| {{{FirstName}}}
| {{{LastName}}}
| User:{{{WikiUsername}}} (Page not created)
([[special:Contributions/{{{WikiUsername}}} | {{{FirstName}}}'s Wiki Contributions]])
| send email