SubTopicList: Difference between revisions
From Mark Twain in the German Language Press
Created page with "{{#dpl: |titlematch = {{PAGENAME}}/% |include = %0[1100 ] |listseparators= , <div style="clear:both; overflow:hidden; margin-bottom:20px;"><h2>²{#getdisplaytitle:%PAGE%}²</h2>, [...]<div style="font-size:1.2em;">continue reading</div></div>, |ordermethod=title |resultsheader = <i>There are %PAGES% subtopics.</i>\n<i>See a list of Article Pages which are connected to each subtopic by navigating to the specific Topic Page.</i> |oneresultheader = <i>There is..." |
mNo edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | |||
=== Use of this Template === | |||
* Current example page: [[Vienna]] | |||
* Include in Topic Pages which have subpages to display all subpages with title, the beginning of the text content (including images if), and a "continue reading" link to the subpage. | |||
* Variables: none | |||
* CSS-class: none | |||
* Copy: <nowiki>{{SubTopicList}}</nowiki> | |||
=== Content of this Template === | |||
==== As Wikitext ==== | |||
<pre><nowiki> | |||
{{#dpl: | {{#dpl: | ||
|titlematch = {{PAGENAME}}/% | |titlematch = {{PAGENAME}}/% | ||
|include = %0[1100 ] | |include = %0[1100 ] | ||
|listseparators= , | |listseparators = , | ||
<div style="clear:both; overflow:hidden; margin-bottom:20px;"><h2>²{#getdisplaytitle:%PAGE%}²</h2>, | <div style="clear:both; overflow:hidden; margin-bottom:20px;"><h2>²{#getdisplaytitle:%PAGE%}²</h2><div>, | ||
[...]<div | [...]</div><div>[[%PAGE%|continue reading]]</div></div>, | ||
|ordermethod=title | |ordermethod = title | ||
|resultsheader = <i>There are %PAGES% subtopics.</i>\n<i>See a list of Article Pages which are connected to each subtopic by navigating to the specific Topic Page.</i> | |resultsheader = <i>There are %PAGES% subtopics.</i>\n | ||
|oneresultheader = <i>There is one subtopic.</i>\n<i>See a list of Article Pages which are connected to each subtopic by navigating to the specific Topic Page.</i> | <i>See a list of Article Pages which are connected to each subtopic by navigating to the specific Topic Page.</i> | ||
|oneresultheader = <i>There is one subtopic.</i>\n | |||
<i>See a list of Article Pages which are connected to each subtopic by navigating to the specific Topic Page.</i> | |||
}} | }} | ||
</nowiki></pre> | |||
==== As Rendered On This Page ==== | |||
<onlyinclude> | |||
{{#dpl: | |||
|titlematch = {{PAGENAME}}/% | |||
|include = %0[1100 ] | |||
|listseparators = , | |||
<div style="clear:both; overflow:hidden; margin-bottom:20px;"><h2>²{#getdisplaytitle:%PAGE%}²</h2><div>, | |||
[...]</div><div>[[%PAGE%|continue reading]]</div></div>, | |||
|ordermethod = title | |||
|resultsheader = <i>There are %PAGES% subtopics.</i>\n | |||
<i>See a list of Article Pages which are connected to each subtopic by navigating to the specific Topic Page.</i> | |||
|oneresultheader = <i>There is one subtopic.</i>\n | |||
<i>See a list of Article Pages which are connected to each subtopic by navigating to the specific Topic Page.</i> | |||
}} | |||
</onlyinclude> | |||
Latest revision as of 11:04, 3 September 2025
Use of this Template
- Current example page: Vienna
- Include in Topic Pages which have subpages to display all subpages with title, the beginning of the text content (including images if), and a "continue reading" link to the subpage.
- Variables: none
- CSS-class: none
- Copy: {{SubTopicList}}
Content of this Template
As Wikitext
{{#dpl:
|titlematch = {{PAGENAME}}/%
|include = %0[1100 ]
|listseparators = ,
<div style="clear:both; overflow:hidden; margin-bottom:20px;"><h2>²{#getdisplaytitle:%PAGE%}²</h2><div>,
[...]</div><div>[[%PAGE%|continue reading]]</div></div>,
|ordermethod = title
|resultsheader = <i>There are %PAGES% subtopics.</i>\n
<i>See a list of Article Pages which are connected to each subtopic by navigating to the specific Topic Page.</i>
|oneresultheader = <i>There is one subtopic.</i>\n
<i>See a list of Article Pages which are connected to each subtopic by navigating to the specific Topic Page.</i>
}}