This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Template:PortalEditHelp: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Ryangibsonstewart
New page: <big>'''Adding to a Character Portal'''</big><br>''<small>for portals using the template:PortalCharacter template''</small><br>When adding a new cell to this portal, be sure to adhere...
 
imported>Ryangibsonstewart
simplify --- the rest of this information belongs on Help:Portals
Line 1: Line 1:
<div style="padding: 1em; border: 1px dashed #2f6fab; color: black; background-color: #f9f9f9; line-height: 1.1em; width:90%;">
<big>'''Adding to a Character Portal'''</big><br>''<small>for portals using the [[template:PortalCharacter|PortalCharacter]] template''</small><br>When adding a new cell to this portal, be sure to adhere the following guidelines:
{| width="100%" border="1"
* Place the new cell alphabetically.
* Use the following variables to compete the cell as fully as possible:
<pre>{{PortalCharacter|size=|image=|link=|text=|smalltext=|nonlinktext=}}</pre>
* There should be five cells per row.
:* Move the last cell of the row to be the first cell of the next row.
{|
! Change this... !! ...to this.
|-
|-
! width="50%" | Adding to a Character Portal
| <pre>{| width=75%
! width="50%" | Adding to a Plot Points Portal
| {{PortalCharacter}} Cell A
| {{PortalCharacter}} Cell B
| {{PortalCharacter}} Cell C
| {{PortalCharacter}} Cell D
| {{PortalCharacter}} Cell E
| {{PortalCharacter}} Cell F
|-
| {{PortalCharacter}} Cell G
| {{PortalCharacter}} Cell H
| {{PortalCharacter}} Cell I
| {{PortalCharacter}} Cell J
</pre>
| <pre>{| width=75%
| {{PortalCharacter}} Cell A
| {{PortalCharacter}} Cell B
| {{PortalCharacter}} Cell C
| {{PortalCharacter}} Cell D
| {{PortalCharacter}} Cell E
|-
| {{PortalCharacter}} Cell F
| {{PortalCharacter}} Cell G
| {{PortalCharacter}} Cell H
| {{PortalCharacter}} Cell I
| {{PortalCharacter}} Cell J
</pre>
|}

:* If the last row has less than five cells, enclose the last row in a new table within the original table by adding <nowiki>{| and |}</nowiki> :
{|
|-
|-
|
|
When adding to or making a portal depicting individual characters, cast, or crew, it is standard to use the [[template:PortalCharacter|PortalCharacter]] template.
<pre>|-
{|width=PERCENT%
| {{PortalCharacter}}
|}
|}</pre>
|
|
When adding to other portals (i.e. for groups and things), it is customary to use the [[template:PortalPlotPoints|PortalPlotPoints]] template.
* Change PERCENT to 15 if there is only one cell in the row (or remove <tt>width=</tt> altogether).
* Change PERCENT to 30 if there are two cells in the row.
* Change PERCENT to 45 if there are three cells in the row.
* Change PERCENT to 60 if there are four cells in the row.
* Change PERCENT to 90 if there are six cells in the row.
* If there are five cells in the row, remove the <nowiki>{| and |}</nowiki> from the last row.
|}
* Always preview the portal before saving.


<big>'''Adding to a Plot Points Portal'''</big><br>''<small>for portals using the [[template:PortalPlotPoints|PortalPlotPoints]] template''</small><br>When adding a new cell to this portal, be sure to adhere the following guidelines:
* Place the new cell alphabetically.
* Use the following variables to compete the cell as fully as possible:
<pre>{{PortalPlotPoints
|image=<!-- Filename of image, e.g. Activating_evolution.jpg -->
|link=<!-- Article title of episode, e.g. Activating Evolution -->
|catlink=<!--OPTIONAL link to use when portal is included in a category-->
|text=<!-- OPTIONAL Alternate link text -->
|nonlinktext=<!-- OPTIONAL Additional text outside link (used to even lengths)-->
|deceased=<!-- Set to "true" for deceased locations and groups -->
|width=<!-- OPTIONAL Width of cell. Defaults to 150px}}
}}</pre>
* There should be four cells per row.
:* Move the last cell of the row to be the first cell of the next row.
{|
! Change this... !! ...to this.
|-
| <pre>{| width=75%
| {{PortalPlotPoints}} Cell A
| {{PortalPlotPoints}} Cell B
| {{PortalPlotPoints}} Cell C
| {{PortalPlotPoints}} Cell D
| {{PortalPlotPoints}} Cell E
|-
| {{PortalPlotPoints}} Cell F
| {{PortalPlotPoints}} Cell G
| {{PortalPlotPoints}} Cell H
</pre>
| <pre>{| width=75%
| {{PortalPlotPoints}} Cell A
| {{PortalPlotPoints}} Cell B
| {{PortalPlotPoints}} Cell C
| {{PortalPlotPoints}} Cell D
|-
| {{PortalPlotPoints}} Cell E
| {{PortalPlotPoints}} Cell F
| {{PortalPlotPoints}} Cell G
| {{PortalPlotPoints}} Cell H
</pre>
|}

:* If the last row has less than four cells, enclose the last row in a new table within the original table by adding <nowiki>{| and |}</nowiki> :
{|
|-
|-
|
|
If there is 1 cell in the row, remove the row width percentage.<br>
<pre>|-
If there are 2 cells in the row, use width=30%<br>
{|width=PERCENT%
If there are 3 cells in the row, use width=45%<br>
| {{PortalPlotPoints}}
If there are 4 cells in the row, use width=60%<br>
|}
If there are 5 cells in the row, use width=75%<br>
|}</pre>
If there are 6 cells in the row, use width=90%
|
|
* Change PERCENT to 19 if there is only one cell in the row (or remove <tt>width=</tt> altogether).
If there is 1 cell in the row, remove the row width percentage.<br>
* Change PERCENT to 38 if there are two cells in the row.
If there are 2 cells in the row, use width=38%<br>
* Change PERCENT to 56 if there are three cells in the row.
If there are 3 cells in the row, use width=56%<br>
* If there are four cells in the row, remove the <nowiki>{| and |}</nowiki> from the last row.
If there are 4 cells in the row, use width=75%<br>
|}
|}
When adding a new cell to a portal:
* Always preview the portal before saving.
*Remember to organize the cells alphabetically.
*Keep the same number of cells per row (5 for PortalCharacter, 4 for PortalPlotPoints).
*For more detailed help with examples, see [[Help:Portals]].
</div>





Revision as of 23:50, 15 October 2007

Adding to a Character Portal Adding to a Plot Points Portal

When adding to or making a portal depicting individual characters, cast, or crew, it is standard to use the PortalCharacter template.

When adding to other portals (i.e. for groups and things), it is customary to use the PortalPlotPoints template.

If there is 1 cell in the row, remove the row width percentage.
If there are 2 cells in the row, use width=30%
If there are 3 cells in the row, use width=45%
If there are 4 cells in the row, use width=60%
If there are 5 cells in the row, use width=75%
If there are 6 cells in the row, use width=90%

If there is 1 cell in the row, remove the row width percentage.
If there are 2 cells in the row, use width=38%
If there are 3 cells in the row, use width=56%
If there are 4 cells in the row, use width=75%

When adding a new cell to a portal:

  • Remember to organize the cells alphabetically.
  • Keep the same number of cells per row (5 for PortalCharacter, 4 for PortalPlotPoints).
  • For more detailed help with examples, see Help:Portals.