Template:Userpage: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (New page: <div style="border: solid {{{thickness|1}}}px {{{border|black}}}; background-color: {{{background|55ff88}}}; padding: 5px; width: {{{width|70}}}%; margin: auto;"> <center>'''{{{title|This ...)
 
mNo edit summary
Tags: Mobile edit Advanced mobile edit
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="border: solid {{{thickness|1}}}px {{{border|black}}}; background-color: {{{background|55ff88}}}; padding: 5px; width: {{{width|70}}}%; margin: auto;">
<includeonly><div style="border: solid {{{thickness|1}}}px {{{border|black}}}; background-color: {{{background|55ff88}}}; padding: 5px; width: {{{width|70}}}%; margin: auto; text-align: center;">'''{{{title|This is a [[SmashWiki]] user page.}}}'''<br>
<center>'''{{{title|This is a [[SmashWiki]] user page.}}}'''<br>
{{{text|''For the article related to this user, please see '''[[Smasher:{{{smashername}}}]]'''.''}}}</div></includeonly><noinclude>
{{{text|''For the article related to this user, please see {{{smashername}}}]].''}}}</center></div></includeonly><noinclude>
==Usage==
==Code==
This template is for linking to your smasher page from your user page.
<pre>
<pre>
{{userpage|smashername=Example}}
{{userpage
|title=(defaults to "This is a [[SmashWiki]] user page.")
|text=(defaults to "''For the article related to this user, please see '''[[Smasher:{{{smashername}}}]]'''.''"
|smashername=name of smasher}}
</pre>
</pre>
[[Category:Templates]]
The "title" and "text" parameters are optional. The "text" parameter overrides the "smashername" parameter unless if "{{{smashername}}}" is inserted there.
</noinclude>
[[Category:User page templates]]</noinclude>

Latest revision as of 01:53, July 16, 2021

Usage

This template is for linking to your smasher page from your user page.

{{userpage
|title=(defaults to "This is a [[SmashWiki]] user page.")
|text=(defaults to "''For the article related to this user, please see '''[[Smasher:{{{smashername}}}]]'''.''"
|smashername=name of smasher}}

The "title" and "text" parameters are optional. The "text" parameter overrides the "smashername" parameter unless if "{{{smashername}}}" is inserted there.