Help:Portals/Landscape example

From Heroes Wiki
Jump to: navigation, search

Adding to a Portal using Landscape-Oriented Images

The PortalPlotPoints template is standard use for these portals. Examples of this kind of portal include portals for Events, Groups and Things, which use 450x350px sized images in standard usage.
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.
  • If there are more than four cells in a given 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, close the original table by typing |} on a new line. Open a new table on the next line by adding {|:
|-
|}
{|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 so to not unnecessarily crowd the history with edits.

Continue reading

Click here to return to the portal editing help.