Difference between revisions of "Template:Infobox Portal"

From ShadowHaven Reloaded
Jump to navigation Jump to search
Tag: visualeditor-wikitext
Tag: visualeditor-wikitext
Line 2: Line 2:
|- style="vertical-align:top;"  
|- style="vertical-align:top;"  
| style="width: 25%"| __TOC__  
| style="width: 25%"| __TOC__  
| style="width: 50%"|{{:User:{{{YourWikiUsername}}}/Character Portal}}  
| style="width: 50%"|{{:User:{{{YourWikiUsername}}}/Character Portal|User={{{YourWikiUsername}}}}}  
| style="width: 25%"|{{Infobox
| style="width: 25%"|{{Infobox
|title = {{{title}}}
|title = {{{title}}}
Line 43: Line 43:
|data120 = {{{data20}}}
|data120 = {{{data20}}}
}}
}}
|}</includeonly>
|}</includeonly><noinclude>
{| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: 100%;  -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444"
|-
|
==Useage==
 
This template functions exactly like [[Template:Infobox]] as seen on the default [[Template:Player Character]] with one noteworthy exception: It will generate a special box to the left of the infobox which can take a "Character Portal".
 
To add this, simply find the line which says <pre>{{Infobox</pre> and replace it with <pre>{{Infobox Portal</pre>
 
If the field is not already present, also add the following line below that:
 
<pre>|YourWikiUsername = </pre>
 
You will then need to enter your wiki user name after the =
 
 
 
This will attempt to generate a character portal from a subpage, but you will need to set that up first.
 
 
 
Instructions on that will be written when I get that sorted out.
 
[[Category:Templates]]
[[Category:Character Page Templates]]
|}
</noinclude>

Revision as of 22:36, 19 June 2020

Useage

This template functions exactly like Template:Infobox as seen on the default Template:Player Character with one noteworthy exception: It will generate a special box to the left of the infobox which can take a "Character Portal".

To add this, simply find the line which says
{{Infobox
and replace it with
{{Infobox Portal

If the field is not already present, also add the following line below that:

|YourWikiUsername = 

You will then need to enter your wiki user name after the =


This will attempt to generate a character portal from a subpage, but you will need to set that up first.


Instructions on that will be written when I get that sorted out.