Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Template:System: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Created page with "<includeonly> {{nowrap|[[:Category:{{{1}}} games|{{{1}}}]]}}{{#switch: {{{1|}}} | Arcade= ({{#if: {{{2|}}} | {{{2}}} | unspecified system}}) | Pinball= ({{#if: {{{2|}}} | {{{2}}} | unspecified system}})|}}{{namespace detect | main={{#if: {{{nocat|}}}||{{#ifeq:{{#translation:}}||[[Category:{{{1}}} games]]|}}}} }}</includeonly><noinclude>This template handles platform categorization and presentation in Template:Bob. Use is simple: <nowiki>{{sys...")
 
No edit summary
 
Line 2: Line 2:
{{nowrap|[[:Category:{{{1}}} games|{{{1}}}]]}}{{#switch: {{{1|}}} | Arcade=&nbsp;({{#if: {{{2|}}} | {{{2}}} | unspecified system}})
{{nowrap|[[:Category:{{{1}}} games|{{{1}}}]]}}{{#switch: {{{1|}}} | Arcade=&nbsp;({{#if: {{{2|}}} | {{{2}}} | unspecified system}})
| Pinball=&nbsp;({{#if: {{{2|}}} | {{{2}}} | unspecified system}})|}}{{namespace detect
| Pinball=&nbsp;({{#if: {{{2|}}} | {{{2}}} | unspecified system}})|}}{{namespace detect
| main={{#if: {{{nocat|}}}||{{#ifeq:{{#translation:}}||[[Category:{{{1}}} games]]|}}}}
| main={{#if: {{{nocat|}}}||<!--{{#ifeq:{{#translation:}}||-->[[Category:{{{1}}} games]]<!--|}}-->}}
}}</includeonly><noinclude>This template handles platform categorization and presentation in [[:Template:Bob|Template:Bob]]. Use is simple:
}}</includeonly><noinclude>This template handles platform categorization and presentation in [[:Template:Bob|Template:Bob]]. Use is simple:
  <nowiki>{{system|[System]|[arcade/pinball system, if first parameter is Arcade or Pinball]}}</nowiki>
  <nowiki>{{system|[System]|[arcade/pinball system, if first parameter is Arcade or Pinball]}}</nowiki>

Latest revision as of 05:52, 24 January 2024

This template handles platform categorization and presentation in Template:Bob. Use is simple:

{{system|[System]|[arcade/pinball system, if first parameter is Arcade or Pinball]}}

Examples:
{{system|Genesis}} -> Genesis
{{system|Arcade|Neo Geo}} -> Arcade (Neo Geo)
You call this template directly in the Bob's systems= argument. If a game was only released on one system, you use system= and arcadesys=, which call this template itself.