Difference between revisions of "Template:Misc-Info"

From Custom Mario Kart
Jump to navigation Jump to search
m (Working on new template that should accomodate all DL types (not just CTs.) Might take a few tries to get right.)
 
(Nintendo is no more)
 
(145 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>{| class="textbox float-right grid"
+
<includeonly>{|class="textbox float-right grid"
|+ '''{{#if: {{{name}}} | {{{name}}} | Misc Info }}'''
+
|+'''{{#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}}}}}
 
|-
 
|-
! Creator:
+
{{#if:{{{creator|{{{author}}}}}}|{{#if:{{{creator|{{{author|}}}}}}|!{{#if:{{{designer|}}}|Creator|Author}}:
| {{{creator|unknown}}}
+
{{!}}{{{creator|{{{author}}}}}}}}|!{{#if:{{{designer|}}}|Creator|Author}}:
 +
{{!}}Unknown}}
 
|-
 
|-
! Designer:
+
{{#if:{{{designer|}}}|!Designer:
| {{#if: {{{designer}}} | {{{designer}}} | {{{creator}}} }}
+
{{!}}{{{designer}}}}}
 
|-
 
|-
! Type:
+
{{#if:{{{version}}}|{{#if:{{{version|}}}|!Version:
| {{#if: {{{type}}} | {{{type}}} | &mdash; }}
+
{{!}}{{{version}}}}}|!Version:
 +
{{!}}&mdash;}}
 
|-
 
|-
! Version:
+
{{#if:{{{date of release|{{{release date}}}}}}|{{#if:{{{date of release|{{{release date|}}}}}}|!Date of latest version:
| {{#if: {{{version}}} | {{{version}}} | &mdash; }}
+
{{!}}{{{date of release|{{{release date}}}}}}{{#ifeq:{{#sub:{{{date of release|{{{release date}}}}}}|0|2}}|20||[[Category:Misc-Info/Date]]}}}}|!Date of latest version:
 +
{{!}}&mdash;}}
 
|-
 
|-
! Date of Release:
+
{{#if:{{{editors used}}}|{{#if:{{{editors used|}}}|!Editors used:
| {{#if: {{{released}}} | {{{released}}} | &mdash; }}
+
{{!}}{{{editors used}}}}}|!Editors used:
 +
{{!}}&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]]}}
 
|-
 
|-
! Editors Used:
+
{{#if:{{{scale}}}|{{#if:{{{scale|}}}|![[Scale]]:
| {{#if: {{{editors used}}} | {{{editors used}}} | &mdash; }}
+
{{!}}{{{scale}}}}}|!Scale:
 +
{{!}}&mdash;}}
 
|-
 
|-
! Difficulty:
+
{{#if:{{{wbz-id|}}}|![[WBZ]] files:
| {{#if: {{{difficulty}}} | {{{difficulty}}} | &mdash; }}
+
{{!}}[https://ct.wiimm.de/f/{{{wbz-id}}} ct.wiimm.de]|{{#if:{{{wbz-ref|}}}||[[Category:Misc-Info/No WBZ ID]]}}}}
 
|-
 
|-
! Download 1:
+
{{#if:{{{wbz-ref|}}}|![[WBZ]] files:
| {{#if: {{{download 1}}} | [{{{download 1}}} {{Extract-Server|{{{download 1}}} }}] | &mdash; }}
+
{{!}}[https://ct.wiimm.de/f/{{{wbz-ref}}} ct.wiimm.de]}}
 
|-
 
|-
! Download 2:
+
{{#if:{{{wbz-clan-id|}}}|![[WBZ]] clan files:
| {{#if: {{{download 2}}} | [{{{download 2}}} {{Extract-Server|{{{download 2}}} }}] | &mdash; }}
+
{{!}}[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{{!}}
 +
{{{!}}cellspacing=0 class="mw-collapsible mw-collapsed" width=100%
 +
!style=border:0{{!}}Minimap
 +
{{!}}-
 +
{{!}}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
 +
|designer2= the person/group who originated the design 2
 +
|version= v1.0
 +
|date of release= 2008-12-25
 +
|editors used= CTools, Photoshop, SketchUp
 +
|scale= 150%
 +
|wbz-id= 1234
 +
|wbz-ref= 789
 +
|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
 +
|scale= 150%
 +
|wbz-id= 1234
 +
|wbz-ref= 789
 +
|wbz-clan-id=30
 +
|download 1= http://www.mediafire.com/id=xyz
 +
|download 2= http://www.sendspace.com/id=abc
 +
}}
 +
</nowiki></pre>
 +
 +
Use either {{code|wbz-ref}} or {{code|wbz-id}} but not both.
 +
{{code|wbz-ref}} defines a link to ct.wiimm.de.
 +
{{code|wbz-id}} defines additonally a link from ct.wiimm.de to this page.
 +
 +
<br clear="right">
 +
 +
== Usage: Character Hack ==
 
{{Misc-Info
 
{{Misc-Info
|name=My Thing
+
|name= Example Character
|creator=Me
+
|creator= Your name here
|designer=Someone else
+
|designer= the person/group who originated the design
|type=custom thing
+
|version= v2.0
|date of release=2008-12-25
+
|date of release= 2011-01-01
|editors used= 3dsmax, photoshop, ctools
+
|editors used= 3ds Max, Paint.NET, SZS Modifier
|version=1.0
+
|download 1= http://www.mediafire.com/id=qwert
|difficulty=x/10 or N/A
+
}}
|download 1=http://gamefront/id=abc
+
 
|download 2=http://mediafire/id=xyz
 
}}
 
usage:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Misc-Info
 
{{Misc-Info
|name=My Thing
+
|name= Example Character
|creator=Me
+
|creator= Your name here
|designer=Someone else
+
|designer= the person/group who originated the design
|type=custom thing
+
|version= v2.0
|date of release=2008-12-25
+
|date of release= 2011-01-01 <!-- YYYY-MM-DD format -->
|editors used= 3dsmax, photoshop, ctools
+
|editors used= 3ds Max, Paint.NET, SZS Modifier
|version=1.0
+
|download 1= http://www.mediafire.com/id=qwert
|difficulty=x/10 or N/A
+
}}
|download 1=http://gamefront/id=abc
+
</nowiki></pre>
|download 2=http://mediafire/id=xyz
+
 
}}
+
== 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|{{PAGENAME}}]]</noinclude>
+
 
 +
[[Category:Template/Include]]</noinclude>

Latest revision as of 19:37, 4 January 2024


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
Scale: 150%
WBZ files: ct.wiimm.de
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
|scale= 150%
|wbz-id= 1234
|wbz-ref= 789
|wbz-clan-id=30
|download 1= http://www.mediafire.com/id=xyz
|download 2= http://www.sendspace.com/id=abc
}}

Use either wbz-ref or wbz-id but not both. wbz-ref defines a link to ct.wiimm.de. wbz-id defines additonally a link from ct.wiimm.de to this page.


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}}