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.

Help:Portals/Portrait example

From Heroes Wiki
Jump to navigation Jump to search

Adding to a Portal using Portrait-Oriented Images

The PortalCharacter template is standard use for these portals. Examples of this kind of portal include portals for Character, Cast and Crew, which use 200x250px sized images in standard usage.
When adding a new cell to these portals, 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.
  • If there is more than five cells in a given row, move the last cell of that 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, close the original table by typing |} on a new line. Open a new table on the next line by adding {| :
|-
|}
{|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, merge the last row back into the main table by removing the |} and {| between them.
  • Always preview the portal before saving so to not unnecessarily crowd the history with edits.

Continue reading

Click here to return to the portal editing help.