Template:UserpageHeading/sandbox: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{|class="wikitable" style="width:100%; border:0px; text-align:center"
{|class="wikitable" style="width:100%; border:0px; text-align:center"
|colspan="5" style="background-color:#e8eafd;" |'''{{{displayas|{{{username}}}}}}'''
|colspan="5" style="background-color:#e8eafd;" |'''{{#if: {{{displayas|}}}|{{{displayas}}}|{{{username}}}}}'''
|-
|-
|style="width:25%; background-color:#91D5FC;" |[[File:Bendy.png|150px|link=User:{{{username}}}|My User Page!]]
|style="width:25%; background-color:#91D5FC;" |[[File:Bendy.png|150px|link=User:{{{username}}}|My User Page!]]

Revision as of 19:08, 29 July 2020

{{{username}}}
My User Page! My Talk Page! My Contributions! My Sandbox!
[[User:{{{username}}}| My User Page!]] [[User_talk:{{{username}}}| My Talk Page!]] [[Special:Contributions/{{{username}}}| My Contributions!]] [[User:{{{username}}}/sandbox| My Sandbox!]]
Note: portions of the template sample may not be visible without values provided. This is normal.

Documentation for UserpageHeading/sandbox

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|Sven}}

will generate

Sven
My User Page! My Talk Page! My Contributions!
My User Page! My Talk Page! My Contributions!

With projects (User:username/projects)

{{userpage/projects|Headquarter8302}}

wil generate

Headquarter8302
My User Page! My Talk Page! My Contributions! My Projects!
My User Page! My Talk Page! My Contributions! My Projects!

With sandbox (User:username/sandbox)

{{userpage/sandbox|Thedoczek}}

will generate

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

With projects and sandbox

{{userpage/prosan|PortalPlayer1}}

will generate

PortalPlayer1
My User Page! My Talk Page! My Contributions! My Projects! My Sandbox!
My User Page! My Talk Page! My Contributions! My Projects! My Sandbox!

Custom title

You can also set own title, other than username.

{{userpage|Headquarter8302|My pages!}}

will generate

My pages!
My User Page! My Talk Page! My Contributions!
My User Page! My Talk Page! 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
Template info.png This documentation is transcluded from Template:UserpageHeading/sandbox/doc.