Difference between revisions of "Template:Topic"

From Shangpa Resource Center
Line 11: Line 11:
 
</noinclude><includeonly>__NOTOC__{{#set:ShortDescription={{{Short Description|}}}}}{{#set:LongDescription={{{Long Description|}}}}}{{{Long Description|}}}
 
</noinclude><includeonly>__NOTOC__{{#set:ShortDescription={{{Short Description|}}}}}{{#set:LongDescription={{{Long Description|}}}}}{{{Long Description|}}}
 
{{#arraydefine: MySubTopicsArray
 
{{#arraydefine: MySubTopicsArray
  |{{#ask: [[Topics::{{BASEPAGENAME}}]] [[SubTopics::+]] |mainlabel=- |headers=hide |?SubTopics |limit=5000 }}
+
  |{{#ask: [[Topics::{{BASEPAGENAME}}]] [[SubTopics::+]] |mainlabel=- |headers=hide |?SubTopics }}
 
  |, | sort=asc, unique
 
  |, | sort=asc, unique
 
}}
 
}}
{{#arrayprint: MySubTopicsArray||@@@@|
+
{{#arrayprint: MySubTopicsArray|<br/>|@@@@|
 
<h2>@@@@</h2>
 
<h2>@@@@</h2>
 
{{#ask: [[Category:Text]] [[SubTopics::@@@@]] |mainlabel=- |headers=hide |?TibetanTitle |?Author }}
 
{{#ask: [[Category:Text]] [[SubTopics::@@@@]] |mainlabel=- |headers=hide |?TibetanTitle |?Author }}

Revision as of 15:54, 7 December 2018

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

{{Topic
|Short Description=
|Long Description=
}}

Edit the page to see the template text.