SubTopicList: Difference between revisions
From Mark Twain in the German Language Press
mNo edit summary |
mNo edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | |||
=== Use of this Template === | === Use of this Template === | ||
* Current example page: [[Vienna]] | * 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. | * 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 | * CSS-class: none | ||
* Copy: <nowiki>{{SubTopicList}}</nowiki> | * Copy: <nowiki>{{SubTopicList}}</nowiki> | ||
| Line 7: | Line 9: | ||
=== Content of this Template === | === Content of this Template === | ||
==== As Wikitext ==== | |||
<pre><nowiki> | <pre><nowiki> | ||
{{#dpl: | {{#dpl: | ||
| Line 12: | Line 15: | ||
|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 | |resultsheader = <i>There are %PAGES% subtopics.</i>\n | ||
| Line 23: | Line 26: | ||
==== As Rendered On This Page ==== | |||
<onlyinclude> | <onlyinclude> | ||
{{#dpl: | {{#dpl: | ||
| Line 28: | Line 32: | ||
|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 | |resultsheader = <i>There are %PAGES% subtopics.</i>\n | ||
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>
}}