Difference between revisions of "BulletPointGameList"

From Sega Retro

(Created page with "{{#vardefine:columns|0}}{{#vardefine:i|0}}{{multicol|{{#dpl: |category={{{format|}}} games |notnamespace=category |ordermethod=title |order=ascending |include={Bob}:something...")
 
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:columns|0}}{{#vardefine:i|0}}{{multicol|{{#dpl:
+
{{#vardefine:columns|0}}{{#vardefine:i|0}}{{#vardefine:subpage|{{{subpage|}}}}}{{#vardefine:format|{{Code2Format|{{{1|}}}{{{format|}}}}}}}{{#vardefine:region|{{{region|}}}}}{{#vardefine:contents|{{#dpl:
|category={{{format|}}} games
+
|category={{#if:{{{category|}}}|{{{category|}}}|{{{region|}}} {{#var:format}} games}}
 +
|{{#if:{{{category2|}}}|category={{{category2|}}}|}}
 +
|notcategory={{#if:{{{notcategory|}}}|{{{notcategory}}}|}}
 
|notnamespace=category
 
|notnamespace=category
|ordermethod=title
+
|ordermethod=sortkey
 
|order=ascending
 
|order=ascending
 
|include={Bob}:something
 
|include={Bob}:something
 
|mode=userformat
 
|mode=userformat
|secseparators=\n*''[[%PAGE%¦²{StripBrackets¦%PAGE%}²]]''²{incvar¦i}²
+
|secseparators=\n*²{ReleaseWithDate¦%PAGE%¦{{{1|}}}{{{format|}}}¦region=²{#var:region}²}²²{#if:²{#var:subpage}²¦ ([[%PAGE%/²{#var:subpage}²¦²{#var:subpage}²]])¦}²²{incvar¦i}²
}}
+
|noresultsheader= 
 +
|nottitlematch=List of%
 +
|nottitlematch={{#var:format}} game%
 +
|nottitlematch={{#var:format}} demo%
 +
|nottitlematch={{#var:format}} bootleg%
 +
}}}}{{multicol|
 +
{{#var:contents}}
 
|cols={{MulticolColumnCalc|{{#var:i}}}}
 
|cols={{MulticolColumnCalc|{{#var:i}}}}
}}<noinclude>[[Category:Sega Retro templates]]</noinclude>
+
}}{{clearvar|columns|i|contents|format|subpage}}<noinclude>
 +
 
 +
Template for displaying lists of games as bullet points, in alphabetical order.
 +
 
 +
<pre>{{BulletPointGameList|32X}}</pre>
 +
{{BulletPointGameList|32X}}
 +
 
 +
<pre>{{BulletPointGameList|32X|subpage=Hidden content}}</pre>
 +
{{BulletPointGameList|32X|subpage=Hidden content}}
 +
 
 +
[[Category:Templates]]</noinclude>

Latest revision as of 15:02, 17 August 2024

Template for displaying lists of games as bullet points, in alphabetical order.

{{BulletPointGameList|32X}}
{{BulletPointGameList|32X|subpage=Hidden content}}