Test-ParserFunctions-in-ExternalData: Difference between revisions
Jump to navigation
Jump to search
(create page) |
No edit summary |
||
Line 1: | Line 1: | ||
==TEST== | ==TEST== | ||
=== Current Roster === | === Current Roster === | ||
{{#ifexist: User:Mharrit1 | | Test IfExist: {{#ifexist: User:Mharrit1 | Mharrit1 User Page Exists | No User Page]]}} | ||
{{#get_web_data: | {{#get_web_data: | ||
Line 22: | Line 11: | ||
}} | }} | ||
{| class="wikitable | {| class="wikitable" | ||
! | ! Wiki User Page | ||
! Test | |||
{{#for_external_table:<nowiki/> | {{#for_external_table:<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}}[[User:{{{WikiUsername}}}| {{{WikiUsername}}} Userpage ]] | {{!}}[[User:{{{WikiUsername}}}| {{{WikiUsername}}} Userpage ]] | ||
{{!}} {{#ifexist:User:{{{WikiUsername}}} | YES User Page | NO User Page}} | |||
{{!}} {#ifexist:User:{{{WikiUsername}}} | | |||
}} | }} | ||
|} | |} | ||
Line 48: | Line 37: | ||
|} | |} | ||
====ExternalData without | ====ExternalData without wiki table markup==== | ||
{{#for_external_table:{{{WikiUsername}}} is {{{Name}}} ["{{{Role}}}" "Staff"] {{#ifeq: "{{{Role}}}" | "Staff" | " | {{#for_external_table: Wiki User "{{{WikiUsername}}}" is person "{{{Name}}}" ["{{{Role}}}" "Staff"] {{#ifeq: "{{{Role}}}" | "Staff" | "Test True" | "TEST FAILS"}} ({{{Role}}}).<p>}} | ||
Line 61: | Line 50: | ||
{{#display_external_table:template=ManagerData|data=Name=Name, Role=Role, Email=Email, WikiUsername=WikiUsername }} | {{#display_external_table:template=ManagerData|data=Name=Name, Role=Role, Email=Email, WikiUsername=WikiUsername }} | ||
|} | |} | ||
{{ManagerData}} |
Revision as of 17:44, 22 May 2020
TEST
Current Roster
Test IfExist: Mharrit1 User Page Exists
Wiki User Page | Test |
---|
Role | First Name | Last Name | Wiki User Page (& Recent Contributions) |
---|
ExternalData without wiki table markup
Use Display External Table
Name | Role | BestEmail | WikiUsername
|
---|
|-
| {{{Role}}}
| {{{FirstName}}}
| {{{LastName}}}
| User:{{{WikiUsername}}} (Page not created)
([[special:Contributions/{{{WikiUsername}}} | {{{FirstName}}}'s Wiki Contributions]])
| send email