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

From Heroes Wiki
Revision as of 02:38, 29 September 2007 by 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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Adding to a Character Portal
for portals using the PortalCharacter template
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:
{{PortalCharacter|size=|image=|link=|text=|smalltext=|nonlinktext=}}
  • 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=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
{| 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
  • If the last row has less than five cells, enclose the last row in a new table within the original table by adding {| and |} :
|-
{|width=PERCENT%
| {{PortalCharacter}}
|}
|}
  • Change PERCENT to 15 if there is only one cell in the row (or remove width= 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 {| and |} from the last row.
  • Always preview the portal before saving.


Adding to a Plot Points Portal
for portals using the PortalPlotPoints template
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:
{{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}}
}}
  • 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.
{| 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
{| 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
  • If the last row has less than four cells, enclose the last row in a new table within the original table by adding {| and |} :
|-
{|width=PERCENT%
| {{PortalPlotPoints}}
|}
|}
  • Change PERCENT to 19 if there is only one cell in the row (or remove width= altogether).
  • Change PERCENT to 38 if there are two cells in the row.
  • Change PERCENT to 56 if there are three cells in the row.
  • If there are four cells in the row, remove the {| and |} from the last row.
  • Always preview the portal before saving.