Template:Topic: Difference between revisions

From Karteria DWRP Wiki
Jump to navigationJump to search
Icie (talk | contribs)
No edit summary
 
Icie (talk | contribs)
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 12: Line 12:
</noinclude><includeonly>{{#cargo_store:_table=Topics}}{| class="wikitable"
</noinclude><includeonly>{{#cargo_store:_table=Topics}}{| class="wikitable"
! RelatedPages
! RelatedPages
| {{#arraymap:{{{RelatedPages|}}}|,|x|[[x]]}}
| {{#arraymap:{{{RelatedPages|}}}|,|x|{{#formredlink:form=Topics|target=Subject/x}}}}


|-
|-
Line 18: Line 18:
| {{{Information|}}}
| {{{Information|}}}
|}
|}
{{QuestionQuery|Topic|{{SUBPAGENAME}}}}
{{#cargo_query:
tables=Questions
|fields=CONCAT('[',Link,' x]')=Link,Topics,AskedBy,DateAsked,QuestionText,DateAnswered,AnswerText
|where= Topics HOLDS '{{SUBPAGENAME}}'
|format=template
|template=Question Table Display
}}


[[Category:Topic]]
[[Category:Topic]]
</includeonly>
</includeonly>

Latest revision as of 11:11, 14 December 2025

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

{{Topic
|RelatedPages=
|Information=
}}

Edit the page to see the template text. This template defines the table "Topics". View table.