Template

SubTopicList: Difference between revisions

From Mark Twain in the German Language Press

mNo edit summary
mNo edit summary
Line 1: Line 1:
__NOTOC__
=== Use of this Template ===
=== Use of this Template ===
* Current example page: [[Vienna]]
* Current example page: [[Vienna]]
Line 8: Line 9:


=== Content of this Template ===
=== Content of this Template ===
==== As Wikitext ====
<pre><nowiki>
<pre><nowiki>
{{#dpl:
{{#dpl:
Line 24: Line 26:




==== As Rendered On This Page ====
<onlyinclude>
<onlyinclude>
{{#dpl:
{{#dpl:

Revision as of 08: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.
  • 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 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>
}}


As Rendered On This Page