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)))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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%;"  }}
<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__  
Line 58: Line 58:


You will then need to enter your wiki user name after the =
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>




Line 65: Line 70:




Instructions on that will be written when I get that sorted out.
 
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:Templates]]

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.