Template:CatChapter: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
+ cat and nocat arguments |
m removed extra left brace |
||
Line 1: | Line 1: | ||
<div style="text-align: center"> |
<div style="text-align: center"> |
||
Chapter navigation:<p>{{#if:{{{prev|}}}|[[:Category:{{{prev}}}]] ←}} '''{{FULLPAGENAME}}''' {{#if:{{{next|}}}|→ [[:Category:{{{next}}}]]}}</p> |
Chapter navigation:<p>{{#if:{{{prev|}}}|[[:Category:{{{prev}}}]] ←}} '''{{FULLPAGENAME}}''' {{#if:{{{next|}}}|→ [[:Category:{{{next}}}]]}}</p> |
||
{{Main|{{{main|{{PAGENAME}}}}}}}<includeonly> |
{{Main|{{{main|{{PAGENAME}}}}}}}<includeonly>{{#if:{{{nocat|}}}||[[Category:{{{cat|Chapters}}}]]}}</includeonly> |
||
</div> |
</div> |
||
<noinclude><br>{{Documentation}}</noinclude> |
<noinclude><br>{{Documentation}}</noinclude> |
Latest revision as of 14:49, 7 July 2024
Chapter navigation:
Template:CatChapter
This template appends the chapter category browser to the page, links to the main page and appends the Chapters category. This template should be used only on category pages containing chapters.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Previous chapter | prev | Enter the name in full
| String | optional |
Next chapter | next | Enter the name in full
| String | optional |
Main article | main | The article used in Main template
| Line | optional |
Category | cat | The category to auto-categorize. Has no effect if nocat is set.
| Line | optional |
nocat | nocat | Check if you don't want to categorize the page. | Boolean | optional |