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

Template:ModBar: Difference between revisions

From ModEnc
Jump to navigation Jump to search
m Edited RockPatch row, testing
m Move the introduction to the doc of this template
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| align="right" width="20%" style="border-collapse: collapse; border: 1px dashed #000000; background:#F0F0F0; margin: 2.8em 0 0 3.2em; padding: 1em 1em 1.5em 1em ;"
<includeonly>{{Sidebar|width=280px|float=right|title={{{name|{{PAGENAME}}}}}|content={{ModEnc:Sidebars/ModBar|image={{{image|Missingshot.png}}}|dev={{{dev|Anonymous Modder}}}|td={{{td|no}}}|ra={{{ra|no}}}|cs={{{cs|no}}}|am={{{am|no}}}|ts={{{ts|no}}}|fs={{{fs|no}}}|ets={{{ets|no}}}|ra2={{{ra2|no}}}|yr={{{yr|no}}}|rp={{{rp|no}}}|gen={{{gen|no}}}|zh={{{zh|no}}}|tw={{{tw|no}}}|type={{{type|Expansion}}}|dates={{{dates|unreleased}}}|version={{{version|1.0}}}|site={{{site|{{SERVER}}/{{FULLPAGENAMEE}}}}}|}}}}</includeonly><noinclude>
!colspan="2"|{{PAGENAME}}
{{Doc}}</noinclude>
|-
|align="center" colspan="2"|[[Image:{{{image}}}]]
|-style="font-size:84%;border-top-color:#aaaaaa;border-top-style:solid;border-top-width:1px;"
|style="padding-left:2px;" bgcolor="#e5e5e5" width="50%"|'''Game'''
|width="50%" style="padding-left:2px;"|{{{game}}}
|-style="font-size:84%;border-top-color:#aaaaaa;border-top-style:solid;border-top-width:1px;"
|style="padding-left:2px;" bgcolor="#e5e5e5"|'''Developer'''
|style="padding-left:2px;"|{{{dev}}}
|-style="font-size:84%;border-top-color:#aaaaaa;border-top-style:solid;border-top-width:1px;"
|style="padding-left:2px;" bgcolor="#e5e5e5"|'''Type'''
|style="padding-left:2px;"|{{{type}}}
|-style="font-size:84%;border-top-color:#aaaaaa;border-top-style:solid;border-top-width:1px;"
|style="padding-left:2px;" bgcolor="#e5e5e5"|'''Release date(s)'''
|style="padding-left:2px;"|{{{dates}}}
|-style="font-size:84%;border-top-color:#aaaaaa;border-top-style:solid;border-top-width:1px;"
|style="padding-left:2px;" bgcolor="#e5e5e5"|'''Current Version'''
|style="padding-left:2px;"|{{{version}}}
|-style="font-size:84%;border-top-color:#aaaaaa;border-top-style:solid;border-top-width:1px;"
|style="padding-left:2px;" bgcolor="#e5e5e5"|'''Campaign playable?'''
|style="padding-left:2px;"|{{{camp}}}
|-style="font-size:84%;border-top-color:#aaaaaa;border-top-style:solid;border-top-width:1px;"
|style="padding-left:2px;" bgcolor="#e5e5e5"|{{#ifeq: {{{rp|N/A}}}|N/A||'''RockPatch required?'''}}
|style="padding-left:2px;"|{{#ifeq: {{{rp|N/A}}}|N/A||={{{rp}}}}}
|-style="font-size:84%;border-top-color:#aaaaaa;border-top-style:solid;border-top-width:1px;"
|style="padding-left:2px;" bgcolor="#e5e5e5"|'''Homepage'''
|style="padding-left:2px;"|[{{{site}}} {{{site}}}]
|}
<includeonly>[[Category:Mods and Patches]]</includeonly>
<!-- TEMPLATE ENDS HERE -->
<noinclude>Usage:<br><pre>
{{ModBar
|image=
|game=
|dev=
|type=
|dates=
|version=
|camp=
|rp=
|site=
}}
</pre>
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.<br>
Box title is the page title.<br>
Template includes Category:Mods and Patches automatically.
 
*'''image:''' Name of screenshot.extension.
*'''game:''' Name of game this mod is for.
*'''dev:''' Developing team name or modder name.
*'''type:''' Balancing, Expansion, Total Conversion or similar.
*'''dates:''' Release dates of mod versions.
*'''version:''' Version number of the mod's current version.
*'''camp:''' yes or no, whether single player campaign is playable.
*'''rp:''' yes or no, whether RockPatch is required. (Omit this or set it to "N/A" if the mod is not for YR and thus RockPatch does not apply.)
*'''site:''' Url of the mod's address. Is turned into a link automatically.
 
==Example==
<pre>{{ModBar
|image=Missingshot.png
|game=Yuri's Revenge
|dev=Renegade
|type=Total Conversion
|dates=May 20, 2006
|version=0.1.0
|camp=no
|rp=no
|site=http://www.destructionmod.com
}}</pre>
{{ModBar
|image=Missingshot.png
|game=Yuri's Revenge
|dev=Renegade
|type=Total Conversion
|dates=May 20, 2006
|version=0.1.0
|camp=no
|rp=no
|site=http://www.destructionmod.com
}}
</noinclude>

Latest revision as of 08:37, 19 August 2021

Template Documentation  [View] [Edit] [History] [Help] [Refresh]

Usage:

{{ModBar
|name=
|image=
|dev=
|type=
|dates=
|version=
|site=
|game
}}

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)
  • 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)
  • site: Url of the mod's address. Is turned into a link automatically. (Default: The current page)
  • game: To choose the game(s) the mod is available for, add a parameter in the form of code=yes to your template call, e.g. yr=yes. You can choose from the following codes/games:
Code Game Code Game
td Tiberian Dawn co The Covert Operations
ra Red Alert cs Counterstrike
am Aftermath ts Tiberian Sun
fs Firestorm ets Extended Tiberian Sun
ra2 Red Alert 2 yr Yuri's Revenge
rp RockPatch gen Generals
zh Zero Hour tw Tiberium Wars

Example

RockPatch
by pd, jonwil, C&CVK

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 Patch
Release date(s) 27.10.2006
Current Version v1.08 SE
Homepage Link

Code
{{ModBar
|name=RockPatch
|dev=pd, jonwil, C&CVK
|type=Patch
|dates=27.10.2006
|version=v1.08 SE
|site=http://rtb.strategy-x.com
|yr=yes
}}
Result
Result visible to the right.