en>Rebecca Zarzycki Created page with "<noinclude>{{documentationpage}}</noinclude> Template for sections of portals. ==Usage== <pre>{{Wikiportal/Section|Title of section|Name of template wit..." |
m 1 revision imported |
(No difference)
|
Latest revision as of 03:13, 21 May 2021
![]() |
This page contains usage information for [[{{#sub:Template:Wikiportal/Section/doc|0|{{#rpos:Template:Wikiportal/Section/doc|/doc}}}}]]. |
---|
Template for sections of portals.
Usage
{{Wikiportal/Section|Title of section|Name of template with content}}
Parameters
{{#replace:{{#replace:{{#replace:{{#replace:<unnamed 1>|| }}| >> | up to }}| // | or }}| ++ |, }}
Title of the section.
{{#replace:{{#replace:{{#replace:{{#replace:<unnamed 2>|| }}| >> | up to }}| // | or }}| ++ |, }}
Name of the template which contains the section content (without "Template:").
(default: "no")
{{#replace:{{#replace:{{#replace:{{#replace:headerlinks|| }}| >> | up to }}| // | or }}| ++ |, }}Specifies links to show on the right of the title. Multiple options can be specified if separated by commas (
,
).
Available options:
- edit: Displays a link for editing the content template ("edit").
- news: Displays a link for adding news ("add") and a link to a news listing page ("more"). The link to the news listing can be altered with
newslink
(see below).
(default: none)
{{#replace:{{#replace:{{#replace:{{#replace:image|| }}| >> | up to }}| // | or }}| ++ |, }}Image for this section, displayed on the right. If you use an image, you also need to specify
image_px
.(default: none)
{{#replace:{{#replace:{{#replace:{{#replace:image size|| }}| >> | up to }}| // | or }}| ++ |, }}Width of image in px.
{{#replace:{{#replace:{{#replace:{{#replace:newslink|| }}| >> | up to }}| // | or }}| ++ |, }}
If
headerlink
contains "news", this allows you to override the default {{more}} link to Fallout Wiki:News.