The Morrissey-solo Wiki is a continual work in progress, most of the data still needs to be populated. See the To Do page if you want to help.

Difference between revisions of "Template:Page"

From Morrissey-solo Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> This is the "Page" template. It should be called in the following format: <pre> {{Page |RelatedForumThreads= }} </pre> Edit the page to see the template text. </no...")
 
Line 3: Line 3:
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Page
+
{{Text
 
|RelatedForumThreads=
 
|RelatedForumThreads=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
+
</noinclude><includeonly>
! RelatedForumThreads
+
{{#arraymap:{{{RelatedForumThreads|}}}|,|x|{{#set:RelatedForumThreads=x}}}}
| {{{RelatedForumThreads|}}}
+
{{#ifeq:{{#ask: [[{{FULLPAGENAME}}]] |?RelatedForumThreads #
|}
+
| format=count}}|0||==Related Forum Threads==
 +
{{RelatedForumThreadList|{{#show: {{FULLPAGENAME}}|?RelatedForumThreads #| format==plainlist| valuesep=,}}}}
 +
}}
 
</includeonly>
 
</includeonly>

Revision as of 00:05, 15 April 2021

This is the "Page" template. It should be called in the following format:

{{Text
|RelatedForumThreads=
}}

Edit the page to see the template text.