Template:UserpageHeading/sandbox: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
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;" |'''{{{username}}}'''
|colspan="5" style="background-color:#e8eafd;" |'''{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}'''
|-
|-
|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:{{{1}}}|My User Page!]]
|style="width:25%; background-color:#91D5FC;" |[[File:Talk ico.png|150px|link=User_talk:{{{username}}}|My Talk Page!]]
|style="width:25%; background-color:#91D5FC;" |[[File:Talk ico.png|150px|link=User_talk:{{{1}}}|My Talk Page!]]
|style="width:25%; background-color:#91D5FC;" |[[File:Main page button Portals.png|150px|link=Special:Contributions/{{{username}}}|My Contributions!]]
|style="width:25%; background-color:#91D5FC;" |[[File:Main page button Portals.png|150px|link=Special:Contributions/{{{1}}}|My Contributions!]]
|style="width:25%; background-color:#91D5FC;" |[[File:GLaDOS P2.png|150px|link=User:{{{username}}}/sandbox|My Sandbox!]]
|style="width:25%; background-color:#91D5FC;" |[[File:GLaDOS P2.png|150px|link=User:{{{1}}}/sandbox|My Sandbox!]]
|-
|-
|style="width:25%" |[[User:{{{username}}}| My User Page!]]
|style="width:25%" |[[User:{{{1}}}| My User Page!]]
|style="width:25%" |[[User_talk:{{{username}}}| My Talk Page!]]
|style="width:25%" |[[User_talk:{{{1}}}| My Talk Page!]]
|style="width:25%" |[[Special:Contributions/{{{username}}}| My Contributions!]]
|style="width:25%" |[[Special:Contributions/{{{1}}}| My Contributions!]]
|style="width:25%" |[[User:{{{username}}}/sandbox| My Sandbox!]]
|style="width:25%" |[[User:{{{1}}}/sandbox| My Sandbox!]]
|}
|}
}}
<noinclude>
<noinclude>
{{doc begin}}
{{Template doc}}</noinclude>
<code><nowiki>
{{userpage/sandbox|username=your username}}
</nowiki></code>
{|Class="wikitable"
!!style="text-align:right" |Template name
!style="text-align:center" |User page
!style="text-align:center" |User talk
!style="text-align:center" |Contribs
!style="text-align:center" |Projects
!style="text-align:center" |Sandbox
|-
!style="text-align:right" |[[Template:Userpage|Userpage]]
|style="text-align:center" |Yes
|style="text-align:center" |Yes
|style="text-align:center" |Yes
|style="text-align:center" |No
|style="text-align:center" |No
|-
!style="text-align:right" |[[Template:Userpage/projects|Userpage/projects]]
|style="text-align:center" |Yes
|style="text-align:center" |Yes
|style="text-align:center" |Yes
|style="text-align:center" |Yes
|style="text-align:center" |No
|-
!style="text-align:right" |[[Template:Userpage/sandbox|Userpage/sandbox]]
|style="text-align:center" |Yes
|style="text-align:center" |Yes
|style="text-align:center" |Yes
|style="text-align:center" |No
|style="text-align:center" |Yes
|-
!style="text-align:right" |[[Template:Userpage/prosan|Userpage/prosan]]
|style="text-align:center" |Yes
|style="text-align:center" |Yes
|style="text-align:center" |Yes
|style="text-align:center" |Yes
|style="text-align:center" |Yes
|}</noinclude>

Latest revision as of 10:27, 8 August 2020

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

Thedoczek
My User Page! My Talk Page! My Contributions! My Sandbox!
My User Page! My Talk Page! My Contributions! 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.