Difference between revisions of "Template:Misc-Info"

From Custom Mario Kart
Jump to navigation Jump to search
m
(A test for something maintenance relating, will revert if it doesn't work.)
(46 intermediate revisions by 4 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;|'}}||<includeonly>[[Category:Misc-Info/Unique Name]]</includeonly>}}
+
|+'''{{#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|}}}|!Designer:
{{!}}{{{designer}}}{{#ifeq:{{#replace:{{#replace:{{{creator}}}|[}}|]}}|{{#replace:{{#replace:{{{designer}}}|[}}|]}}|<includeonly>[[Category:Misc-Info/Creator=Designer]]</includeonly>}}}}|!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|}}}}}}|!Date of latest version:
{{!}}{{{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]]}}}}|!Date of latest version:
 
{{!}}&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:{{{video}}}|{{#if:{{{video|}}}|!Video:
 +
{{!}}{{Server-Link|{{{video}}}}}[[Category:Misc-Info/Video]]}}|!Video:
 +
{{!}}&mdash;[[Category:Misc-Info/Video]]}}
 
|-
 
|-
{{#if:{{{difficulty}}}|{{#if:{{{difficulty|}}}|!Difficulty:
+
{{#if:{{{wbz-id|}}}|![[WBZ]] files:
{{!}}{{{difficulty}}}}}|!Difficulty:
+
{{!}}[https://ct.wiimm.de/f/{{{wbz-id}}} ct.wiimm.de]|[[Category:Misc-Info/No WBZ ID]]}}
{{!}}&mdash;<includeonly>[[Category:Misc-Info/No Difficulty]]</includeonly>}}
 
 
|-
 
|-
{{#if:{{{video}}}|{{#if:{{{video|}}}|!Video:
+
{{#if:{{{wbz-clan-id|}}}|![[WBZ]] clan files:
{{!}}{{Server-Link|{{{video}}}}}<includeonly>[[Category:Misc-Info/Video]]</includeonly>}}|!Video:
+
{{!}}[https://ct.wiimm.de/c/{{{wbz-clan-id}}} ct.wiimm.de]}}
{{!}}&mdash;<includeonly>[[Category:Misc-Info/Video]]</includeonly>}}
 
 
|-
 
|-
!Download:{{#switch:{{#sub:{{{download 1|{{{download|{{{download 2}}}}}}}}}|0|5}}|http:|https|[http=|<includeonly>[[Category:Misc-Info/No Download]]</includeonly>}}
+
!width=42%|Download:{{#switch:{{#sub:{{{download 1|{{{download|{{{download 2|{{{wbz-id}}}}}}}}}}}}|0|5}}|http:|https|[http=|[[Category:Misc-Info/No Download]]}}
|{{List
+
|width=58%|{{List
 
|{{Server-Link|{{{download 1|{{{download|}}}}}}}}
 
|{{Server-Link|{{{download 1|{{{download|}}}}}}}}
 
|{{Server-Link|{{{download 2|}}}}}
 
|{{Server-Link|{{{download 2|}}}}}
Line 53: 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 ==
 +
* Use the (YYYY-MM-DD) format for '''date of release'''.
 +
* 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 ==
 +
{{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
 +
|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
 +
}}
 +
 +
<pre><nowiki>
 +
{{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
 +
}}
 +
</nowiki></pre>
 +
<br clear="right">
 +
 +
== Usage: Character Hack ==
 +
{{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
 +
|editors used= 3ds Max, Paint.NET, SZS Modifier
 +
|download 1= http://www.mediafire.com/id=qwert
 +
}}
 +
 +
<pre><nowiki>
 +
{{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
 +
}}
 +
</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>
 +
 +
[[Category:Template/Include]]</noinclude>

Revision as of 03:40, 13 January 2021


Usage Notes

  • Use the (YYYY-MM-DD) format for date of release.
  • 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
Date of latest version: 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
Date of latest version: 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}}