Difference between revisions of "BulletPointGameList"

From Sega Retro

 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:columns|0}}{{#vardefine:i|0}}{{#vardefine:format|{{Code2Format|{{{1|}}}{{{format|}}}}}}}{{#vardefine:contents|{{#dpl:
+
{{#vardefine:columns|0}}{{#vardefine:i|0}}{{#vardefine:subpage|{{{subpage|}}}}}{{#vardefine:format|{{Code2Format|{{{1|}}}{{{format|}}}}}}}{{#vardefine:region|{{{region|}}}}}{{#vardefine:contents|{{#dpl:
|category={{#if:{{{category|}}}|{{{category|}}}|{{#var:format}} games}}
+
|category={{#if:{{{category|}}}|{{{category|}}}|{{{region|}}} {{#var:format}} games}}
 +
|{{#if:{{{category2|}}}|category={{{category2|}}}|}}
 +
|notcategory={{#if:{{{notcategory|}}}|{{{notcategory}}}|}}
 
|notnamespace=category
 
|notnamespace=category
 
|ordermethod=sortkey
 
|ordermethod=sortkey
Line 6: Line 8:
 
|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= 
 
|noresultsheader= 
|nottitlematch=List of%¦{{#var:format}} game%¦{{#var:format}} demo%¦{{#var:format}} bootleg%
+
|nottitlematch=List of%
 +
|nottitlematch={{#var:format}} game%
 +
|nottitlematch={{#var:format}} demo%
 +
|nottitlematch={{#var:format}} bootleg%
 
}}}}{{multicol|
 
}}}}{{multicol|
 
{{#var:contents}}
 
{{#var:contents}}
 
|cols={{MulticolColumnCalc|{{#var:i}}}}
 
|cols={{MulticolColumnCalc|{{#var:i}}}}
}}{{clearvar|columns|i|contents|format}}<noinclude>
+
}}{{clearvar|columns|i|contents|format|subpage}}<noinclude>
  
 
Template for displaying lists of games as bullet points, in alphabetical order.
 
Template for displaying lists of games as bullet points, in alphabetical order.
Line 18: Line 23:
 
<pre>{{BulletPointGameList|32X}}</pre>
 
<pre>{{BulletPointGameList|32X}}</pre>
 
{{BulletPointGameList|32X}}
 
{{BulletPointGameList|32X}}
 +
 +
<pre>{{BulletPointGameList|32X|subpage=Hidden content}}</pre>
 +
{{BulletPointGameList|32X|subpage=Hidden content}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 16:02, 17 August 2024

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

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