Difference between revisions of "Template:Topic"
From Shangpa Resource Center
Line 14: | Line 14: | ||
|, | sort=asc, unique | |, | sort=asc, unique | ||
}} | }} | ||
− | {{# | + | {{#ifeq: {{#arraysize:MySubTopicsArray}} | 0 | |
− | |||
− | |||
{{#ask: [[Topics::{{BASEPAGENAME}}]] |?TibetanTitle |?WylieTitle |?Author |format=ul }} | {{#ask: [[Topics::{{BASEPAGENAME}}]] |?TibetanTitle |?WylieTitle |?Author |format=ul }} | ||
+ | | | ||
+ | {{#arrayprint: MySubTopicsArray||@@@@|<h2>@@@@</h2>{{#ask: [[SubTopics::@@@@]] |?TibetanTitle |?WylieTitle |?Author |format=ul }} }} | ||
}} | }} | ||
[[Category:Topic]] | [[Category:Topic]] | ||
</includeonly> | </includeonly> |
Revision as of 16:18, 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.