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
Line 8: Line 8:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>
+
</noinclude><includeonly>{{#arraymap:{{{RelatedForumThreads|}}}|,|x|{{#set:RelatedForumThreads=x}}}}{{#ifeq:{{#len:{{{RelatedForumThreads|}}}}}|0||==Related Forum Threads=={{RelatedForumThreadList|{{#show: {{FULLPAGENAME}}|?RelatedForumThreads #| format=plainlist| valuesep=,}}}}}}</includeonly>
{{#arraymap:{{{RelatedForumThreads|}}}|,|x|{{#set:RelatedForumThreads=x}}}}
 
{{#ifeq:{{#ask: [[{{FULLPAGENAME}}]] |?RelatedForumThreads #
 
| format=count}}|0||==Related Forum Threads==
 
{{RelatedForumThreadList|{{#show: {{FULLPAGENAME}}|?RelatedForumThreads #| format==plainlist| valuesep=,}}}}
 
}}
 
</includeonly>
 

Revision as of 22:14, 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.