Template:InfoboxGame: Difference between revisions

From Videogame Morgue File

(Adding some optional markup for the series a game is part of (if applicable). If used, it should link to a category page for the series in question. I don't know if I'll make use of this in the short term, but I felt like it was worth adding now for the sake of the long term.)
m (MorgueFile moved page Template:Infobox to Template:InfoboxGame: should really have been called this from the start)
 
(15 intermediate revisions by 2 users not shown)
Line 6: Line 6:
   <data source="series">
   <data source="series">
     <label>Series</label>
     <label>Series</label>
     <format>[[:Category:{{series}}|''{{series}}'']]</format>
     <format>[[:Category:{{{series}}}|''{{{series}}}'']]</format>
   </data>
   </data>
   <data source="date"><label>Date</label></data>
   <data source="date"><label>Date</label></data>
   <data source="wikipedia">
   <data source="links">
    <label>Wikipedia</label>
    <label>Links</label>
    <format>[{{{wikipedia}}} {{{wikipedia}}}]</format>
    <format>{{#if: {{{wikipedia|}}} | [{{{wikipedia}}} Wikipedia]<br/>}}{{#if: {{{mobygames|}}} | [{{{mobygames}}} MobyGames]<br/>}}{{#if: {{{tcrf|}}} | [{{{tcrf}}} The Cutting Room Floor]<br/>}}{{#if: {{{hg101|}}} | [{{{hg101}}} Hardcore Gaming 101]}}</format>
  </data>
    <default>{{#if: {{{wikipedia|}}} | [{{{wikipedia}}} Wikipedia]<br/>}}{{#if: {{{mobygames|}}} | [{{{mobygames}}} MobyGames]<br/>}}{{#if: {{{tcrf|}}} | [{{{tcrf}}} The Cutting Room Floor]<br/>}}{{#if: {{{hg101|}}} | [{{{hg101}}} Hardcore Gaming 101]}}</default>
  <data source="mobygames">
    <label>MobyGames</label>
    <format>[{{{mobygames}}} {{{mobygames}}}]</format>
  </data>
  <data source="tcrf">
    <label>The Cutting Room Floor</label>
    <format>[{{{tcrf}}} {{{tcrf}}}]</format>
   </data>
   </data>
   <data source="related"><label>Related</label></data>
   <data source="related"><label>Related</label></data>
</infobox>
</infobox>

Latest revision as of 18:51, 3 September 2024