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:ArchiveLinks: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>MiamiVolts fix matching code |
imported>MiamiVolts →Usage: update usage to include exclude option |
||
| Line 2: | Line 2: | ||
== Usage == |
== Usage == |
||
<pre> |
<pre> |
||
{{ArchiveLinks |
{{ArchiveLinks |
||
|<archive page> |
|||
|exclude=<comma-separated list of one-based section numbers to be excluded |
|||
(i.e. 5,6,7 for the 5th through 7th sections)> |
|||
}} |
|||
</pre> |
</pre> |
||
Useful for adding archive section listings to user talk pages, this template uses DPL to generate an archive link for up to 20 sections, separated by bullets. If you have more than 20 sections to archive, it is recommended that you use two archive talk pages. |
Useful for adding archive section listings to user talk pages, this template uses DPL to generate an archive link for up to 20 sections, separated by bullets. If you have more than 20 sections to archive, it is recommended that you use two archive talk pages. |
||
== Notes == |
== Notes == |
||
* Section 0's are not included cause if the first header is section 0, that throws off all of the edit links. If your archive's first section header isn't showing up when using this template, make sure it is on a line by itself and does not include any template calls (such as to a table of contents or archive header template). |
* Section 0's are not included cause if the first header is section 0, that throws off all of the edit links. If your archive's first section header isn't showing up when using this template, make sure it is on a line by itself and does not include any template calls (such as to a table of contents or archive header template). |
||
Revision as of 23:30, 15 January 2008
Usage
{{ArchiveLinks
|<archive page>
|exclude=<comma-separated list of one-based section numbers to be excluded
(i.e. 5,6,7 for the 5th through 7th sections)>
}}
Useful for adding archive section listings to user talk pages, this template uses DPL to generate an archive link for up to 20 sections, separated by bullets. If you have more than 20 sections to archive, it is recommended that you use two archive talk pages.
Notes
- Section 0's are not included cause if the first header is section 0, that throws off all of the edit links. If your archive's first section header isn't showing up when using this template, make sure it is on a line by itself and does not include any template calls (such as to a table of contents or archive header template).
- The current implementation of this template will not show section headers correctly if they contain a link that does not span 100% of the header. Italics and Bold font, and links that span the entire header are accounted for in this template.
- This template requires templates Delink and PartialDelink, and subtemplates ArchiveLinks/TrailingBullets, PartialDelink/Linkstart, and PartialDelink/Linkend to function properly. If porting this template, please remember to include them.