Template:UserpageHeading/doc: Difference between revisions
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!
(Created page with "<center>''Credit to Sven for his formula of the table and Thedoczek for configuring it to templates.''</center> <code><nowiki> {{userpage|use...") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<center>''Credit to [[User:Sven|Sven]] for his formula of the table and [[User:Thedoczek|Thedoczek]] for configuring it to templates.''</center> | <center>''Credit to [[User:Sven|Sven]] for his formula of the table and [[User:Thedoczek|Thedoczek]] for configuring it to templates.''<br /> | ||
< | ''You can still use old, short template code, without'' Heading''!''</center> | ||
{{userpage|username= | == Examples == | ||
</nowiki></ | === Normal === | ||
<pre><nowiki> | |||
{{userpage|Sven}} | |||
</nowiki></pre> | |||
will generate | |||
{{userpage|Sven}} | |||
=== With projects <small>(User:username/projects)</small> === | |||
<pre><nowiki> | |||
{{userpage/projects|Headquarter8302}} | |||
</nowiki></pre> | |||
wil generate | |||
{{userpage/projects|Headquarter8302}} | |||
=== With sandbox <small>(User:username/sandbox)</small> === | |||
<pre><nowiki> | |||
{{userpage/sandbox|Thedoczek}} | |||
</nowiki></pre> | |||
will generate | |||
{{userpage/sandbox|Thedoczek}} | |||
=== With projects and sandbox === | |||
<pre><nowiki> | |||
{{userpage/prosan|PortalPlayer1}} | |||
</nowiki></pre> | |||
will generate | |||
{{userpage/prosan|PortalPlayer1}} | |||
== Custom title == | |||
You can also set own title, other than username. | |||
<pre><nowiki> | |||
{{userpage|Headquarter8302|My pages!}} | |||
</nowiki></pre> | |||
will generate | |||
{{userpage|Headquarter8302|My pages!}} | |||
== Visual table of contents == | |||
{|Class="wikitable" | {|Class="wikitable" | ||
!!style="text-align:right" |Template name | !!style="text-align:right" |Template name | ||
Line 11: | Line 42: | ||
!style="text-align:center" |Sandbox | !style="text-align:center" |Sandbox | ||
|- | |- | ||
!style="text-align:right" |[[Template: | !style="text-align:right" |[[Template: UserpageHeading|Userpage]] | ||
|style="text-align:center" |Yes | |style="text-align:center" |Yes | ||
|style="text-align:center" |Yes | |style="text-align:center" |Yes | ||
Line 18: | Line 49: | ||
|style="text-align:center" |No | |style="text-align:center" |No | ||
|- | |- | ||
!style="text-align:right" |[[Template: | !style="text-align:right" |[[Template: UserpageHeading/projects|Userpage/projects]] | ||
|style="text-align:center" |Yes | |style="text-align:center" |Yes | ||
|style="text-align:center" |Yes | |style="text-align:center" |Yes | ||
Line 25: | Line 56: | ||
|style="text-align:center" |No | |style="text-align:center" |No | ||
|- | |- | ||
!style="text-align:right" |[[Template: | !style="text-align:right" |[[Template: UserpageHeading/sandbox|Userpage/sandbox]] | ||
|style="text-align:center" |Yes | |style="text-align:center" |Yes | ||
|style="text-align:center" |Yes | |style="text-align:center" |Yes | ||
Line 32: | Line 63: | ||
|style="text-align:center" |Yes | |style="text-align:center" |Yes | ||
|- | |- | ||
!style="text-align:right" |[[Template: | !style="text-align:right" |[[Template: UserpageHeading/prosan|Userpage/prosan]] | ||
|style="text-align:center" |Yes | |style="text-align:center" |Yes | ||
|style="text-align:center" |Yes | |style="text-align:center" |Yes |
Latest revision as of 10:31, 8 August 2020
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! |
With projects (User:username/projects)
{{userpage/projects|Headquarter8302}}
wil generate
Headquarter8302 | ||||
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! |
With projects and sandbox
{{userpage/prosan|PortalPlayer1}}
will generate
PortalPlayer1 | ||||
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! |
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 |