Difference between revisions of "Template:Misc-Info"

From Custom Mario Kart
Jump to navigation Jump to search
m
(wbz-clan-id=30)
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>{|class="textbox float-right grid"
 
<includeonly>{|class="textbox float-right grid"
|+'''{{#if:{{{name|}}}|{{{name}}}|{{Extract-Title}}}}'''{{#ifeq:{{#replace:{{{name}}}|&#39;|'}}|{{#replace:{{Extract-Title}}|&#39;|'}}||[[Category:Misc-Info/Unique Name]]}}
+
|+'''{{#if:{{{name|}}}|{{{name}}}{{#ifeq:{{#replace:{{#replace:{{{name}}}|&#38;|&}}|&#39;|'}}|{{#replace:{{#replace:{{Extract-Title}}|&#38;|&}}|&#39;|'}}||[[Category:Misc-Info/Unique Name]]}}|{{Extract-Title}}}}'''
 
{{#if:{{{image|}}}|{{!}}align=center colspan=2{{!}}{{{image}}}}}
 
{{#if:{{{image|}}}|{{!}}align=center colspan=2{{!}}{{{image}}}}}
 
|-
 
|-
{{#if:{{{creator}}}|{{#if:{{{creator|}}}|!Creator:
+
{{#if:{{{creator|{{{author}}}}}}|{{#if:{{{creator|{{{author|}}}}}}|!{{#if:{{{designer|}}}|{{#if:{{#pos:{{{designer|}}}|Nintendo}}|Author|Creator}}|Author}}:
{{!}}{{{creator}}}}}|!Creator:
+
{{!}}{{{creator|{{{author}}}}}}}}|!{{#if:{{{designer|}}}|Creator|Author}}:
 
{{!}}Unknown}}
 
{{!}}Unknown}}
 
|-
 
|-
{{#if:{{{designer}}}|{{#if:{{{designer|}}}|!Designer:
+
{{#if:{{{designer|}}}|{{#if:{{#pos:{{{designer|}}}|Nintendo}}||!Designer:
{{!}}{{{designer}}}{{#ifeq:{{#replace:{{#replace:{{{creator}}}|[}}|]}}|{{#replace:{{#replace:{{{designer}}}|[}}|]}}|[[Category:Misc-Info/Creator=Designer]]}}}}|!Designer:
+
{{!}}{{{designer}}}}}}}
{{!}}{{#if:{{{creator|}}}|{{{creator}}}|Unknown}}}}
 
|-
 
{{#if:{{{type}}}|{{#if:{{{type|}}}|!Type:
 
{{!}}{{{type}}}}}|!Type:
 
{{!}}&mdash;}}
 
 
|-
 
|-
 
{{#if:{{{version}}}|{{#if:{{{version|}}}|!Version:
 
{{#if:{{{version}}}|{{#if:{{{version|}}}|!Version:
Line 19: Line 14:
 
{{!}}&mdash;}}
 
{{!}}&mdash;}}
 
|-
 
|-
{{#if:{{{date of release}}}|{{#if:{{{date of release|}}}|!Date of Latest Version:
+
{{#if:{{{date of release|{{{release date}}}}}}|{{#if:{{{date of release|{{{release date|}}}}}}|!Release date:
{{!}}{{{date of release}}}}}|!Date of Latest Version:
+
{{!}}{{{date of release|{{{release date}}}}}}{{#ifeq:{{#sub:{{{date of release|{{{release date}}}}}}|0|2}}|20||[[Category:Misc-Info/Date]]}}}}|!Release date:
 
{{!}}&mdash;}}
 
{{!}}&mdash;}}
 
|-
 
|-
{{#if:{{{editors used}}}|{{#if:{{{editors used|}}}|!Editors Used:
+
{{#if:{{{editors used}}}|{{#if:{{{editors used|}}}|!Editors used:
{{!}}{{{editors used}}}}}|!Editors Used:
+
{{!}}{{{editors used}}}}}|!Editors used:
 
{{!}}&mdash;}}
 
{{!}}&mdash;}}
|-
+
|-{{#if:{{{difficulty}}}||[[Category:Misc-Info/No Difficulty]]}}
{{#if:{{{difficulty}}}|{{#if:{{{difficulty|}}}|!Difficulty:
 
{{!}}{{{difficulty}}}}}|!Difficulty:
 
{{!}}&mdash;[[Category:Misc-Info/No Difficulty]]}}
 
|-
 
 
{{#if:{{{video}}}|{{#if:{{{video|}}}|!Video:
 
{{#if:{{{video}}}|{{#if:{{{video|}}}|!Video:
 
{{!}}{{Server-Link|{{{video}}}}}[[Category:Misc-Info/Video]]}}|!Video:
 
{{!}}{{Server-Link|{{{video}}}}}[[Category:Misc-Info/Video]]}}|!Video:
 
{{!}}&mdash;[[Category:Misc-Info/Video]]}}
 
{{!}}&mdash;[[Category:Misc-Info/Video]]}}
 
|-
 
|-
!Download:
+
{{#if:{{{wbz-id|}}}|![[WBZ]] files:
|{{#if:{{{download 2|}}}|*}}{{#if:{{{download 1|{{{download|}}}}}}|{{Server-Link|{{{download 1|{{{download}}}}}}}}|&mdash;}}{{#ifeq:{{#sub:{{{download 1|{{{download}}}}}}|0|4}}|http||[[Category:Misc-Info/No Download]]}}
+
{{!}}[https://ct.wiimm.de/f/{{{wbz-id}}} ct.wiimm.de]}}
{{#if:{{{download 2|}}}|*{{Server-Link|{{{download 2}}}}}}}
+
|-
 +
{{#if:{{{wbz-clan-id|}}}|![[WBZ]] clan files:
 +
{{!}}[https://ct.wiimm.de/c/{{{wbz-clan-id}}} ct.wiimm.de]}}
 +
|-
 +
!width=42%|Download:{{#switch:{{#sub:{{{download 1|{{{download|{{{download 2|{{{wbz-id}}}}}}}}}}}}|0|5}}|http:|https|[http=|[[Category:Misc-Info/No Download]]}}
 +
|width=58%|{{List
 +
|{{Server-Link|{{{download 1|{{{download|}}}}}}}}
 +
|{{Server-Link|{{{download 2|}}}}}
 +
|{{Server-Link|{{{download 3|}}}}}
 +
|{{Server-Link|{{{download 4|}}}}}
 +
|{{Server-Link|{{{download 5|}}}}}
 +
|{{Server-Link|{{{download 6|}}}}}
 +
|{{Server-Link|{{{download 7|}}}}}
 +
|{{Server-Link|{{{download 8|}}}}}
 +
|{{Server-Link|{{{download 9|}}}}}
 +
|{{Server-Link|{{{download 10|}}}}}
 +
}}
 
|-
 
|-
 
{{#if:{{{map|}}}|{{!}}colspan=2 style=padding:0{{!}}
 
{{#if:{{{map|}}}|{{!}}colspan=2 style=padding:0{{!}}
Line 43: Line 50:
 
!style=border:0{{!}}Minimap
 
!style=border:0{{!}}Minimap
 
{{!}}-
 
{{!}}-
{{!}}align=center style=border-right:0;border-bottom:0;border-left:0{{!}}{{{map}}}
+
{{!}}align=center style="border-right:medium none;border-bottom:medium none;border-left:medium none"{{!}}{{{map}}}
 
{{!}}}
 
{{!}}}
 
}}
 
}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
==Usage Notes==
+
== Usage Notes ==
* Use the (YYYY-MM-DD) format for '''Date of release'''.
+
* Use the (YYYY-MM-DD) format for '''date of release'''.
* The '''Date of release''' field refers to the last version released, not when the original version came out or the page was last updated. For example if v1.0 was released on 2011-12-25, v1.1 was released 2012-01-01, and the page was last updated on 2012-02-14, the field should contain 2012-01-01.
+
* The '''date of release''' field refers to the last version released, not when the original version came out or the page was last updated. For example if v1.0 was released on 2011-12-25, v1.1 was released 2012-01-01, and the page was last updated on 2012-02-14, the field should contain 2012-01-01.
*The '''Download''' field can contain two URLs.  You can add additional download mirrors elsewhere in the article.
+
*Leave '''download''' blank if you do not have downloads available.  Do not type ''none'', ''N/A'' or any other text here; it will create a bad URL and a script error on the page.  
*Leave '''Download''' blank if you do not have downloads available.  Do not type ''none'', ''N/A'' or any other text here; it will create a bad URL and a script error on the page.
 
*The '''Difficulty''' field only applies to custom tracks.  Delete it if using this template on other types of files.
 
  
==Usage (Custom Track)==
+
== Usage: Custom Track ==
 
{{Misc-Info
 
{{Misc-Info
 
|name= Example Track
 
|name= Example Track
 
|creator= Your name here
 
|creator= Your name here
 
|designer= the person/group who originated the design
 
|designer= the person/group who originated the design
|type= Custom Track
 
 
|version= v1.0
 
|version= v1.0
 
|date of release= 2008-12-25
 
|date of release= 2008-12-25
 
|editors used= CTools, Photoshop, SketchUp
 
|editors used= CTools, Photoshop, SketchUp
|difficulty= x/10
+
|wbz-id=1234
 +
|wbz-clan-id=30
 
|download 1= http://www.mediafire.com/id=xyz
 
|download 1= http://www.mediafire.com/id=xyz
 
|download 2= http://www.sendspace.com/id=abc
 
|download 2= http://www.sendspace.com/id=abc
Line 73: Line 78:
 
|creator= Your name here
 
|creator= Your name here
 
|designer= the person/group who originated the design
 
|designer= the person/group who originated the design
|type= Custom Track
 
 
|version= v1.0
 
|version= v1.0
 
|date of release= 2008-12-25 <!-- YYYY-MM-DD format -->
 
|date of release= 2008-12-25 <!-- YYYY-MM-DD format -->
 
|editors used= CTools, Photoshop, SketchUp
 
|editors used= CTools, Photoshop, SketchUp
|difficulty= x/10
+
|wbz-id=1234
 +
|wbz-clan-id=30
 
|download 1= http://www.mediafire.com/id=xyz
 
|download 1= http://www.mediafire.com/id=xyz
 
|download 2= http://www.sendspace.com/id=abc
 
|download 2= http://www.sendspace.com/id=abc
Line 84: Line 89:
 
<br clear="right">
 
<br clear="right">
  
==Usage (Character Hack)==
+
== Usage: Character Hack ==
 
{{Misc-Info
 
{{Misc-Info
 
|name= Example Character
 
|name= Example Character
 
|creator= Your name here
 
|creator= Your name here
 
|designer= the person/group who originated the design
 
|designer= the person/group who originated the design
|type= Model Hack
 
 
|version= v2.0
 
|version= v2.0
 
|date of release= 2011-01-01
 
|date of release= 2011-01-01
Line 101: Line 105:
 
|creator= Your name here
 
|creator= Your name here
 
|designer= the person/group who originated the design
 
|designer= the person/group who originated the design
|type= Model Hack
 
 
|version= v2.0
 
|version= v2.0
 
|date of release= 2011-01-01 <!-- YYYY-MM-DD format -->
 
|date of release= 2011-01-01 <!-- YYYY-MM-DD format -->
Line 107: Line 110:
 
|download 1= http://www.mediafire.com/id=qwert
 
|download 1= http://www.mediafire.com/id=qwert
 
}}
 
}}
 +
</nowiki></pre>
 +
 +
== Usage: wbz-id only ==
 +
{{Misc-Info|name= wbz-id only|wbz-id=1234}}
 +
 +
<pre><nowiki>
 +
{{Misc-Info|name= wbz-id only|wbz-id=1234}}
 
</nowiki></pre>
 
</nowiki></pre>
  
 
[[Category:Template/Include]]</noinclude>
 
[[Category:Template/Include]]</noinclude>

Revision as of 09:46, 18 January 2019

Usage Notes

  • Use the (YYYY-MM-DD) format for date of release.
  • The date of release field refers to the last version released, not when the original version came out or the page was last updated. For example if v1.0 was released on 2011-12-25, v1.1 was released 2012-01-01, and the page was last updated on 2012-02-14, the field should contain 2012-01-01.
  • Leave download blank if you do not have downloads available. Do not type none, N/A or any other text here; it will create a bad URL and a script error on the page.

Usage: Custom Track

Example Track
Creator: Your name here
Designer: the person/group who originated the design
Version: v1.0
Release date: 2008-12-25
Editors used: CTools, Photoshop, SketchUp
WBZ files: ct.wiimm.de
WBZ clan files: ct.wiimm.de
Download:
{{Misc-Info
|name= Example Track
|creator= Your name here
|designer= the person/group who originated the design
|version= v1.0
|date of release= 2008-12-25 <!-- YYYY-MM-DD format -->
|editors used= CTools, Photoshop, SketchUp
|wbz-id=1234
|wbz-clan-id=30
|download 1= http://www.mediafire.com/id=xyz
|download 2= http://www.sendspace.com/id=abc
}}


Usage: Character Hack

Example Character
Creator: Your name here
Designer: the person/group who originated the design
Version: v2.0
Release date: 2011-01-01
Editors used: 3ds Max, Paint.NET, SZS Modifier
Download: MediaFire
{{Misc-Info
|name= Example Character
|creator= Your name here
|designer= the person/group who originated the design
|version= v2.0
|date of release= 2011-01-01 <!-- YYYY-MM-DD format -->
|editors used= 3ds Max, Paint.NET, SZS Modifier
|download 1= http://www.mediafire.com/id=qwert
}}

Usage: wbz-id only

wbz-id only
WBZ files: ct.wiimm.de
Download:
{{Misc-Info|name= wbz-id only|wbz-id=1234}}