Template:InfoboxGame: Difference between revisions

From Videogame Morgue File

(this may be it)
(links should only appear conditionally)
Line 11: Line 11:
   <data source="links">
   <data source="links">
     <label>Links</label>
     <label>Links</label>
     <format>[{{{wikipedia|}}} Wikipedia] [{{{mobygames|}}} MobyGames] [{{{tcrf|}}} TCRF] [{{{hg101|}}} HG101]</format>
     <format>
     <default>[{{{wikipedia|}}} Wikipedia] [{{{mobygames|}}} MobyGames] [{{{tcrf|}}} TCRF] [{{{hg101|}}} HG101]</default>
      {{#if: {{{wikipedia}}} | [{{{wikipedia}}} Wikipedia] | }}
      {{#if: {{{mobygames}}} | [{{{mobygames}}} MobyGames] | }}
      {{#if: {{{tcrf}}} | [{{{tcrf}}} TCRF] | }}
      {{#if: {{{hg101}}} | [{{{hg101}}} HG101] | }}
    </format>
     <default>
      {{#if: {{{wikipedia}}} | [{{{wikipedia}}} Wikipedia] | }}
      {{#if: {{{mobygames}}} | [{{{mobygames}}} MobyGames] | }}
      {{#if: {{{tcrf}}} | [{{{tcrf}}} TCRF] | }}
      {{#if: {{{hg101}}} | [{{{hg101}}} HG101] | }}
    </default>
   </data>
   </data>
   <data source="related"><label>Related</label></data>
   <data source="related"><label>Related</label></data>
</infobox>
</infobox>

Revision as of 12:39, 3 September 2024