Template:ModuleDetailsDefinitions: Difference between revisions

Template page
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
Wrapper for providing Module details that appear on the Module's page, instead of their SMW definitions.
Wrapper for providing Module details that appear on the Module's page, instead of their SMW definitions.


If this has more than 10 it'll break, but that's easy to fix. It's set to 10 right now to limit server load. In theory we might change this to a lua script if we're getting a ton more than 10 variants of modules on a regular basis.
If this has more than 10 it'll break, but that's easy to fix. It's set to 10 right now to limit server load.  
</noinclude>
</noinclude><includeonly>{{#invoke:ModuleShowVariantsOrSingle|processData
<includeonly>
{{#invoke:ModuleShowVariantsOrSingle|processData
|module_name={{PAGENAME}}
|module_name={{PAGENAME}}
|count={{#ask:
|count={{#ask:
Line 12: Line 10:
  |format=count
  |format=count
}}
}}
|{{{1|}}}
|variant1={{{1|}}}
|{{{2|}}}
|variant2={{{2|}}}
|{{{3|}}}
|variant3={{{3|}}}
|{{{4|}}}
|variant4={{{4|}}}
|{{{5|}}}
|variant5={{{5|}}}
|{{{6|}}}
|variant6={{{6|}}}
|{{{7|}}}
|variant7={{{7|}}}
|{{{8|}}}
|variant8={{{8|}}}
|{{{9|}}}
|variant9={{{9|}}}
|{{{10|}}}
|variant10={{{10|}}}
}}
}}
</includeonly>
[[Category:Modules]]</includeonly>

Latest revision as of 00:22, 8 June 2024

Wrapper for providing Module details that appear on the Module's page, instead of their SMW definitions.

If this has more than 10 it'll break, but that's easy to fix. It's set to 10 right now to limit server load.