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: [[SubTopics::+]] |mainlabel=- |headers=hide |?SubTopics |limit=5000 }} | + | |{{#ask: [[Topics::{{BASEPAGENAME}}]] [[SubTopics::+]] |mainlabel=- |headers=hide |?SubTopics |limit=5000 }} |
|, | sort=asc, unique | |, | sort=asc, unique | ||
}} | }} | ||
{{#arrayprint: MySubTopicsArray||@@@@| | {{#arrayprint: MySubTopicsArray||@@@@| | ||
<h2>@@@@</h2> | <h2>@@@@</h2> | ||
− | {{#ask: [[Category:Text]] [[SubTopics::@@@@]] |headers=hide |?TibetanTitle |?Author }} | + | {{#ask: [[Category:Text]] [[SubTopics::@@@@]] |mainlabel=- |headers=hide |?TibetanTitle |?Author }} |
}} | }} | ||
[[Category:Topic]] | [[Category:Topic]] | ||
</includeonly> | </includeonly> |
Revision as of 15:53, 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.