Template Documentation[]
- Basic usage
{{portal|<content>}}
- With a header
{{portal|<header>|<content>}}
- Extra customization
parameter | example | description |
---|---|---|
class | FullWidthImage | Adds custom classes to the portal container. Format as if HTML - spaces denote separate classes. |
editlink | Module:MaintenenceData/data | If present, creates an edit button to the header that links to the input. A header must be present. |
style | text-align:center; | Adds custom css to the content container. |
choose | true | If true, adds ![]() |
mobile-only | true | Adds style="display:none;" to the header element. As mobiles ignore custom styling, this will still be drawn on mobile but will be hidden on desktop.
|
- Example
Example header![The contents of this panel changes on page reload. The contents of this panel changes on page reload.](https://cdn.statically.io/img/static.wikia.nocookie.net/leagueoflegends/images/0/0f/Reroll.png/revision/latest/scale-to-width-down/20?cb=20171207193720)
![The contents of this panel changes on page reload. The contents of this panel changes on page reload.](https://cdn.statically.io/img/static.wikia.nocookie.net/leagueoflegends/images/0/0f/Reroll.png/revision/latest/scale-to-width-down/20?cb=20171207193720)
Example content
Homepage Hierarchy[]
Header[]
Header |
---|
{{Portal navigation}} |
Community Portal[]
Left column | Right column |
---|---|
Footer | |
|
Universe Portal[]
Left column | Right column |
---|---|
Footer | |
|
League of Legends Portal[]
Left column | Right column |
---|---|
|
|
Footer | |
|
Teamfight Tactics Portal[]
Left column | Right column |
---|---|
Footer | |
|
Legends of Runeterra Portal[]
Left column | Right column |
---|---|
Footer | |
|
Wild Rift Portal[]
Left column | Right column |
---|---|
Footer | |
|
The above documentation is transcluded from Template:Portal/doc. (edit | history) Please add categories to the /doc subpage. Subpages of this template. |
|