Difference between revisions of "Template:Infobox Portal"

From ShadowHaven Reloaded
Jump to navigation Jump to search
Tag: visualeditor-wikitext
m (Protected "Template:Infobox Portal" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| style="border: none; background: none; width: 100%;"  
<includeonly>{| {{#ifeq: {{{Style}}} | Roundbox | class="plainlinks" align="center" cellpadding="5" cellspacing="0" style="border: gray 2px solid; width: 85%; -moz-border-radius: 15px; -webkit-border-radius: 15px; border-radius: 15px; background-color: #444" |  style="border: none; background: none; width: 100%;" }}
|- 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|}}}
|image= {{{image}}}
|image= {{{image|}}}
|header1= {{{header1}}}
|header1= {{{header1|}}}
|header2= {{{header2}}}
|header2= {{{header2|}}}
|header3= {{{header3}}}
|header3= {{{header3|}}}
|header4= {{{header4}}}
|header4= {{{header4|}}}
|label5 = {{{label5}}}
|label5 = {{{label5|}}}
|data5 = {{{data5}}}
|data5 = {{{data5|}}}
|label6 = {{{label6}}}
|label6 = {{{label6|}}}
|data6 = {{{data6}}}
|data6 = {{{data6|}}}
|label7= {{{label7}}}
|label7= {{{label7|}}}
|data7 = {{{data7}}}
|data7 = {{{data7|}}}
|label8 = {{{label8}}}
|label8 = {{{label8|}}}
|data8= {{{data8}}}
|data8= {{{data8|}}}
|label9 = {{{label9}}}
|label9 = {{{label9|}}}
|data9 = {{{data9}}}
|data9 = {{{data9|}}}
|label10 = {{{label10}}}
|label10 = {{{label10|}}}
|data10= {{{data10}}}  
|data10= {{{data10|}}}  
|label11 = {{{label11}}}
|label11 = {{{label11|}}}
|data11 = {{{data11}}}
|data11 = {{{data11|}}}
|label12 = {{{label12}}}
|label12 = {{{label12|}}}
|data12 = {{{data12}}}
|data12 = {{{data12|}}}
|label13 = {{{label13}}}
|label13 = {{{label13|}}}
|data13 = {{{data13}}}
|data13 = {{{data13|}}}
|label14 = {{{label14}}}
|label14 = {{{label14|}}}
|data14 = {{{data14}}}
|data14 = {{{data14|}}}
|label15 = {{{label15}}}
|label15 = {{{label15|}}}
|data15 = {{{data15}}}
|data15 = {{{data15|}}}
|label16 =  {{{label16}}}
|label16 =  {{{label16|}}}
|data16 = {{{data16}}}
|data16 = {{{data16|}}}
|label17 = {{{label17}}}
|label17 = {{{label17|}}}
|data17 = {{{data17}}}
|data17 = {{{data17|}}}
|label18 = {{{label18}}}
|label18 = {{{label18|}}}
|data18 = {{{data18}}}
|data18 = {{{data18|}}}
|label19 =  {{{label19}}}
|label19 =  {{{label19|}}}
|data19 = {{{data19}}}
|data19 = {{{data19|}}}
|label20 = {{{label20}}}
|label20 = {{{label20|}}}
|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 =
 
 
Is you are using the rounded box style character page created by [[User:Teksura]], you will also need to add the following:
 
<pre>|Style=Roundbox</pre>
 
 
 
This will attempt to generate a character portal from a subpage, but you will need to set that up first.
 
 
 
 
After putting this in your character page, you will be given a red link at the top of your page. Click that to create a page, and follow the instructions found in [[Template:CharacterPortal]]. Copy the source code from the template, and paste it into the User subpage this one is linking to.
 
[[Category:Templates]]
[[Category:Character Page Templates]]
|}
</noinclude>

Latest revision as of 05:29, 23 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 =


Is you are using the rounded box style character page created by User:Teksura, you will also need to add the following:

|Style=Roundbox


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



After putting this in your character page, you will be given a red link at the top of your page. Click that to create a page, and follow the instructions found in Template:CharacterPortal. Copy the source code from the template, and paste it into the User subpage this one is linking to.