Template:UserpageHeading/sandbox/doc

From the Portal Wiki
Jump to navigation Jump to search
Credit to Sven for his formula of the table and Thedoczek for configuring it to templates.
You can still use old, short template formula, without Heading!

Examples

{{userpage|username=Sven}} will generate

{{{1}}}
My User Page! My Talk Page! My Contributions!
[[User:{{{1}}}| My User Page!]] [[User_talk:{{{1}}}| My Talk Page!]] [[Special:Contributions/{{{1}}}| My Contributions!]]

{{userpage/sandbox|username=Thedoczek}} will generate

{{{1}}}
My User Page! My Talk Page! My Contributions! My Sandbox!
[[User:{{{1}}}| My User Page!]] [[User_talk:{{{1}}}| My Talk Page!]] [[Special:Contributions/{{{1}}}| My Contributions!]] [[User:{{{1}}}/sandbox| My Sandbox!]]

{{userpage/projects|username=Sven}} will generate

{{{1}}}
My User Page! My Talk Page! My Contributions! My Projects!
[[User:{{{1}}}| My User Page!]] [[User_talk:{{{1}}}| My Talk Page!]] [[Special:Contributions/{{{1}}}| My Contributions!]] [[User:{{{1}}}/projects| My Projects!]]

{{userpage/prosan|username=Thedoczek}} will generate

{{{1}}}
My User Page! My Talk Page! My Contributions!
[[User:{{{1}}}| My User Page!]] [[User_talk:{{{1}}}| My Talk Page!]] [[Special:Contributions/{{{1}}}| My Contributions!]]


DISPLAYAS

There is a new function, with makes you able to have in-table username other than regular username. {{userpage|username=Sven|displayas=SomeRandomGuy}} will generate

{{{1}}}
My User Page! My Talk Page! My Contributions!
[[User:{{{1}}}| My User Page!]] [[User_talk:{{{1}}}| My Talk Page!]] [[Special:Contributions/{{{1}}}| My Contributions!]]
Template name User page User talk Contribs Projects Sandbox
Userpage Yes Yes Yes No No
Userpage/projects Yes Yes Yes Yes No
Userpage/sandbox Yes Yes Yes No Yes
Userpage/prosan Yes Yes Yes Yes Yes