Difference between revisions of "Template:UserDefaultPage"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (upd. category)
m (Add Template:Doc/Template usage)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
My Wiki username is: '''{{{1|{{PAGENAME}}}}}'''
+
<includeonly>{|
 
+
| My Wiki username is: || '''{{{1|{{PAGENAME}}}}}'''
My Wiki contributions: [[Special:Contributions/{{{1|{{PAGENAME}}}}}| Contributions:{{{1|{{PAGENAME}}}}}]]
+
|-
 
+
| My Wiki talk page: || [[User talk:{{{1|{{PAGENAME}}}}}]]
I can do my private editing experiments in [[{{{1|{{PAGENAME}}}}}'s Sandbox]]
+
|-
 
+
| My Wiki contributions: || [[Special:Contributions/{{{1|{{PAGENAME}}}}}]]
<noinclude>[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>
+
|-
 +
| My Wiki sandbox: || [[User:{{{1|{{PAGENAME}}}}}/Sandbox]]
 +
|}</includeonly><noinclude>{{Doc/Template
 +
|descr= Adds the default userpage content.
 +
|param1= username
 +
|descr1= (Optional) username, default {{<nowiki/>PAGENAME}} (username on a User:* page)
 +
|example1= <nowiki>{{UserDefaultPage}}</nowiki>
 +
|result1= &nbsp;
 +
{{UserDefaultPage}}
 +
|example2= <nowiki>{{UserDefaultPage|Maruk}}</nowiki>
 +
|result2= &nbsp;
 +
{{UserDefaultPage|Maruk}}
 +
}}</noinclude>

Latest revision as of 16:23, 1 February 2021

Adds the default userpage content.

This template is used on these pages.

Usage

{{UserDefaultPage|username}}

  • username: (Optional) username, default {{PAGENAME}} (username on a User:* page)
Examples
Code Result
{{UserDefaultPage}}  
My Wiki username is: UserDefaultPage
My Wiki talk page: User talk:UserDefaultPage
My Wiki contributions: Special:Contributions/UserDefaultPage
My Wiki sandbox: User:UserDefaultPage/Sandbox
{{UserDefaultPage|Maruk}}  
My Wiki username is: Maruk
My Wiki talk page: User talk:Maruk
My Wiki contributions: Special:Contributions/Maruk
My Wiki sandbox: User:Maruk/Sandbox