Atšķirības starp "Veidne:Topic" versijām

No Barikadopēdija
 
(6 starpversijas, ko saglabājis viens cits lietotājs, nav parādītas)
1. rindiņa: 1. rindiņa:
<noinclude>
+
<noinclude> This is the "Topic" template. It should be called in the following format:
This is the "Topic" template.
+
<pre>{{Topic}}
It should be called in the following format:
 
<pre>
 
{{Topic}}
 
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>
+
</noinclude><includeonly> Šī lapa ir par [[:Category:Tēmas|tēmu]].
Šī lapa ir par [[:Category:Tēmas|tēmu]].
 
  
{{Article list
+
{{Article list |Title=Raksti |Condition=[[About topic::{{PAGENAME}}]] }} <!--{{#vardefine: article_count|{{#ask:[[Category:Articles]][[About topic::{{PAGENAME}}]]|format=count|limit=10000}}}}  
|Title=Raksti
+
{{#ifexpr: {{#var: article_count}} > 0 |[[Category:Tēmas]]|}}-->
|Condition=[[About topic::{{PAGENAME}}]]
 
}}
 
{{DEFAULTSORT:{{SortKey|{{PAGENAME}}}}}}
 
[[Category:Topics]]
 
{{#vardefine: article_count|{{Article count|Condition=[[About topic::{{PAGENAME}}]]}}}}  
 
{{#if: {{#var: article_count}} | 0 | Yes | No }}
 
 
</includeonly>
 
</includeonly>
 +
 +
[[Category:Topics]]<br/>[[Category:Tēmas]]

Pašreizējā versija, 2015. gada 24. novembris, plkst. 09.37

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

Edit the page to see the template text.