SubTopicList: Difference between revisions
From Mark Twain in the German Language Press
mNo edit summary |
mNo edit summary |
||
| Line 27: | Line 27: | ||
|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 style="font-size:1.2em;">[[%PAGE%|continue reading]]</div></div>, | [...]<div style="font-size:1.2em;">[[%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> | |||
}} | }} | ||
</onlyinclude> | </onlyinclude> | ||
Revision as of 07:37, 22 August 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.
- CSS-class: none
- Copy: {{SubTopicList}}
Content of this Template
{{#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;">[[%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>
}}