User talk:Vapor/sandbox/sandbox3

From The Urban Dead Wiki
< User talk:Vapor‎ | sandbox
Revision as of 01:30, 10 January 2011 by MHSstaff (talk | contribs) (New page: You can try something like this: <pre> {{switch|{{{PAGEIN}}} |case: PM= {{User:MHSstaff/Projects/TestingGrounds1|{{{USERIN}}}}} |case: RE= {{User:MHSstaff/Projects/TestingGrounds3|{{{USERI...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

You can try something like this:

{{switch|{{{PAGEIN}}}
|case: PM= {{User:MHSstaff/Projects/TestingGrounds1|{{{USERIN}}}}}
|case: RE= {{User:MHSstaff/Projects/TestingGrounds3|{{{USERIN}}}}}
|default= {{User:MHSstaff/Projects/TestingGrounds2|USERIN2={{{USERIN}}}}}
}}


where TestingGrounds1 is a PM template, TestingGrounds3 is a RE template, USERIN is the user you want info for, and TestingGrounds2 uses the pagename to determine the right one to use. In my case, it will checks to see if it is in my Project space or Image space to call one of TestingGrounds1 or 3.

User talk:MHSstaff has examples for the first two cases, where you pick PM or RE.
User:MHSstaff/Images has the pagename one.

-MHSstaff 01:30, 10 January 2011 (UTC)