Template:UserpageHeading/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 code, without Heading!

Examples

Normal

{{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!]]

With projects (User:username/projects)

{{userpage/projects|username=Headquarter8302}}

wil 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!]]

With sandbox (User:username/sandbox)

{{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!]]

With projects and sandbox

{{userpage/prosan|username=PortalPlayer1}}

will generate

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

Custom title

You can also set own title, other than username.

{{userpage|username=Headquarter8302|displayas=My pages!}}

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!]]

Visual table of contents

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