ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Template:ModBar"

From ModEnc
Jump to: navigation, search
(I fucking hate template editing - conditional template doesn't work, setting defaults.)
Line 1: Line 1:
 
{| align="right" width="20%" class="table_infobar"  
 
{| align="right" width="20%" class="table_infobar"  
!colspan="2"|{{PAGENAME}}
+
!colspan="2"|{{{name|{{PAGENAME}}}}}
 
|-
 
|-
 
|align="center" colspan="2"|[[Image:{{{image|Missingshot.png}}}]]
 
|align="center" colspan="2"|[[Image:{{{image|Missingshot.png}}}]]
 
|-class="contentrow"
 
|-class="contentrow"
 
|width="50%"|'''Game'''
 
|width="50%"|'''Game'''
|width="50%"|{{{game}}}
+
|width="50%"|{{{game|Yuri's Revenge}}}
 
|-class="contentrow"
 
|-class="contentrow"
 
|'''Developer'''
 
|'''Developer'''
|{{{dev}}}
+
|{{{dev|Anonymous Modder}}}
 
|-class="contentrow"
 
|-class="contentrow"
 
|'''Type'''
 
|'''Type'''
|{{{type}}}
+
|{{{type|Expansion}}}
 
|-class="contentrow"
 
|-class="contentrow"
 
|'''Release date(s)'''
 
|'''Release date(s)'''
|{{{dates}}}
+
|{{{dates|{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}}}}
 
|-class="contentrow"
 
|-class="contentrow"
 
|'''Current Version'''
 
|'''Current Version'''
|{{{version}}}
+
|{{{version|1.0}}}
 
|-class="contentrow"
 
|-class="contentrow"
 
|'''Campaign playable?'''
 
|'''Campaign playable?'''
|{{{camp}}}
+
|{{{camp|no}}}
{{#ifeq: {{{rp|}}}|||<tr class="contentrow">
+
|-class="contentrow"
<td>'''RockPatch required?'''</td>
+
|'''RockPatch required?'''
<td>{{{rp}}}</td>
+
|{{{rp|no}}}
</tr>}}
 
 
|-class="contentrow"
 
|-class="contentrow"
 
|'''Homepage'''
 
|'''Homepage'''
|[{{{site}}} Link]
+
|[{{{site|{{SERVER}}/{{FULLPAGENAMEE}}}}} Link]
 
|}
 
|}
 
<includeonly>[[Category:Mods and Patches]]</includeonly>
 
<includeonly>[[Category:Mods and Patches]]</includeonly>
Line 33: Line 32:
 
<noinclude>Usage:<br><pre>
 
<noinclude>Usage:<br><pre>
 
{{ModBar
 
{{ModBar
 +
|name=
 
|image=
 
|image=
 
|game=
 
|game=
Line 45: Line 45:
 
</pre>
 
</pre>
 
Copy-paste the code above and fill in the fields as instructed.<br>
 
Copy-paste the code above and fill in the fields as instructed.<br>
Screenshot shouldn't be too big, and needs to be uploaded via [[Special:Upload]] first. [[:Image:Missingshot.png]] gets placed if nothing else is defined.<br>
+
Screenshot shouldn't be too big, and needs to be uploaded via [[Special:Upload]] first.<br>
 
Box title is the page title.<br>
 
Box title is the page title.<br>
Template includes Category:Mods and Patches automatically.
+
Template includes [[:Category:Mods and Patches]] automatically.
  
*'''image:''' Name of screenshot.extension.
+
*'''name:''' Name of the mod. ('''Default:''' Current page name)
*'''game:''' Name of game this mod is for.
+
*'''image:''' Name of screenshot.extension. ('''Default:''' [[:Image:Missingshot.png|Missingshot.png]])
*'''dev:''' Developing team name or modder name.
+
*'''game:''' Name of game this mod is for. ('''Default:''' Yuri's Revenge)
*'''type:''' Balancing, Expansion, Total Conversion or similar.
+
*'''dev:''' Developing team name or modder name. ('''Default:''' Anonymous Modder)
*'''dates:''' Release dates of mod versions.
+
*'''type:''' Balancing, Expansion, Total Conversion or similar. ('''Default:''' Expansion)
*'''version:''' Version number of the mod's current version.
+
*'''dates:''' Release dates of mod versions. ('''Default:''' Present day)
*'''camp:''' yes or no, whether single player campaign is playable.
+
*'''version:''' Version number of the mod's current version. ('''Default:''' 1.0)
*'''rp:''' yes or no, whether RockPatch is required. (Omit this if the mod is not for YR and thus RockPatch does not apply.)
+
*'''camp:''' yes or no, whether single player campaign is playable. ('''Default:''' no)
*'''site:''' Url of the mod's address. Is turned into a link automatically.
+
*'''rp:''' yes or no, whether RockPatch is required. ('''Default:''' no)
 +
*'''site:''' Url of the mod's address. Is turned into a link automatically. ('''Default:''' The current page)
  
 
==Example==
 
==Example==
 
<pre>{{ModBar
 
<pre>{{ModBar
|image=Missingshot.png
+
|name=Total Destruction
|game=Yuri's Revenge
 
 
|dev=Renegade
 
|dev=Renegade
 
|type=Total Conversion
 
|type=Total Conversion
 
|dates=May 20, 2006
 
|dates=May 20, 2006
 
|version=0.1.0
 
|version=0.1.0
|camp=no
 
|rp=no
 
 
|site=http://www.destructionmod.com
 
|site=http://www.destructionmod.com
 
}}</pre>
 
}}</pre>
 
{{ModBar
 
{{ModBar
|image=Missingshot.png
+
|name=Total Destruction
|game=Yuri's Revenge
 
 
|dev=Renegade
 
|dev=Renegade
 
|type=Total Conversion
 
|type=Total Conversion
 
|dates=May 20, 2006
 
|dates=May 20, 2006
 
|version=0.1.0
 
|version=0.1.0
|camp=no
 
|rp=no
 
 
|site=http://www.destructionmod.com
 
|site=http://www.destructionmod.com
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 18:53, 15 August 2006

ModBar
Missingshot.png
Game Yuri's Revenge
Developer Anonymous Modder
Type Expansion
Release date(s) April 30, 2024
Current Version 1.0
Campaign playable? no
RockPatch required? no
Homepage Link
Usage:
{{ModBar
|name=
|image=
|game=
|dev=
|type=
|dates=
|version=
|camp=
|rp=
|site=
}}

Copy-paste the code above and fill in the fields as instructed.
Screenshot shouldn't be too big, and needs to be uploaded via Special:Upload first.
Box title is the page title.
Template includes Category:Mods and Patches automatically.

  • name: Name of the mod. (Default: Current page name)
  • image: Name of screenshot.extension. (Default: Missingshot.png)
  • game: Name of game this mod is for. (Default: Yuri's Revenge)
  • dev: Developing team name or modder name. (Default: Anonymous Modder)
  • type: Balancing, Expansion, Total Conversion or similar. (Default: Expansion)
  • dates: Release dates of mod versions. (Default: Present day)
  • version: Version number of the mod's current version. (Default: 1.0)
  • camp: yes or no, whether single player campaign is playable. (Default: no)
  • rp: yes or no, whether RockPatch is required. (Default: no)
  • site: Url of the mod's address. Is turned into a link automatically. (Default: The current page)

Example

{{ModBar
|name=Total Destruction
|dev=Renegade
|type=Total Conversion
|dates=May 20, 2006
|version=0.1.0
|site=http://www.destructionmod.com
}}
Total Destruction
Missingshot.png
by Renegade

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm
Extended Tiberian Sun Red Alert 2 Yuri's Revenge RockPatch Generals Zero Hour Tiberium Wars

Type Total Conversion
Release date(s) May 20, 2006
Current Version 0.1.0
Homepage Link