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
 
(11 intermediate revisions by the same user not shown)
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>{{CommonDiscogsArtist}}
{{#arraymap:{{{RelatedForumThreads|}}}|,|x|{{#set:RelatedForumThreads=x}}}}
+
{{CommonDiscogsRelease}}
{{#ifeq:{{#ask: [[{{FULLPAGENAME}}]] |?RelatedForumThreads #
+
{{WikipediaExtractDisplay|{{Page property values|WikipediaPageTitle|{{FULLPAGENAME}}}}}}{{#set:RelatedForumThreads={{{RelatedForumThreads|}}}}}
| format=count}}|0||==Related Forum Threads==
+
{{#ifeq:{{#len:{{{RelatedForumThreads|}}}}}|0||==Related Forum Threads=={{RelatedForumThreadList|{{{RelatedForumThreads|}}}}}}}{{#set:DiscogsArtistId={{{DiscogsArtistId|}}}}}{{#set:DiscogsLabelId={{{DiscogsLabelId|}}}}}{{#set:DiscogsReleaseId={{{DiscogsReleaseId|}}}}}{{#set:DiscogsAdditionalReleaseId={{{DiscogsAdditionalReleaseId|}}}}}{{#set:WikipediaPageTitle={{{WikipediaPageTitle|}}}}}
{{RelatedForumThreadList|{{#show: {{FULLPAGENAME}}|?RelatedForumThreads #| format==plainlist| valuesep=,}}}}
 
}}
 
 
</includeonly>
 
</includeonly>

Latest revision as of 11:35, 2 May 2021

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

{{Text
|RelatedForumThreads=
}}

Edit the page to see the template text.