You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Template: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
No edit summary
(Undo revision 147579 by Ariel (talk|contribs))
Tag: Undo
 
(22 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|-
|-
| style="{{Linear-gradient |left|#CECECE 5%, #EEE}};" align="center" width="100" | '''Type{{#if:{{{Type2|}}}|s|}}''':
| style="{{Linear-gradient |left|#CECECE 5%, #EEE}};" align="center" width="100" | '''Type{{#if:{{{Type2|}}}|s|}}''':
| width="100" | {{#if:{{{Type|}}}|*[[:Category:{{{Type}}} Templates|{{{Type}}}]] |'''Please Specify'''}} {{#if:{{{Type2|}}}|*[[:Category:{{{Type2}}} Templates|{{{Type2}}}]]|}} {{#if:{{{Type3|}}}|*[[:Category:{{{Type3}}} Template|{{{Type3}}}]]|}}
| width="100" | {{#if:{{{Type|}}}|*[[:Category:{{{Type}}} Templates|{{{Type}}}]] |'''Please Specify'''}} {{#if:{{{Type2|}}}|*[[:Category:{{{Type2}}} Templates|{{{Type2}}}]]|}} {{#if:{{{Type3|}}}|*[[:Category:{{{Type3}}} Templates|{{{Type3}}}]]|}}
|-
|-
| style="{{Linear-gradient |left|#CECECE 5%, #EEE}};" align="center" width="100" | '''Sub-Template''':
| style="{{Linear-gradient |left|#CECECE 5%, #EEE}};" align="center" width="100" | '''Sub-Template''':
Line 20: Line 20:
|}
|}
[[Category:Templates]]
[[Category:Templates]]
{{#ifeq:{{{Sub|}}}|No|{{#if:{{{Type|}}}|[[Category:{{{Type}}}]]|}} {{#if:{{{Type2|}}}|[[Category:{{{Type2}}}]]|}} {{#if:{{{Type3|}}}|[[Category:{{{Type3}}}]]|}}|[[Category:Sub Templates]]}}</includeonly><noinclude>==Example==
{{#ifeq:{{{Sub}}}|No|{{#if:{{{Type|}}}|[[Category:{{{Type}}} Templates]]|}} {{#if:{{{Type2|}}}|[[Category:{{{Type2}}} Templates]]|}} {{#if:{{{Type3|}}}|[[Category:{{{Type3}}} Templates]]|}}|}}
<pre>{{Template}}</pre>
{{#ifeq:{{{Sub|}}}|Yes|[[Category:Sub Templates]]|}}</includeonly><noinclude>This template is used to sort all templates into sub-categories and to give someone sifting through them some quick information.
{{Template}}
 
 
==Syntax==
<pre>{{Template
|Name=
|Type=
|Type2=
|Type3=
|Sub=
|Designer=
|Designer2=
|Designer3=
|Notes=
}}</pre>
 
 
==Parameters==
 
==={{{Name}}}===
Specify the name of the template here.
 
==={{{Type#}}}===
Specify the type of template here, the types are:
*Administration: for templates for SysOps ot Administrators.
*Formatting: for templates that aid or simplify formatting.
*Info Box: for templates that create or aid infoboxes.
*Navigation: for templates that ease navigation from page to page.
*Organising: for templates that sort pages.
*Utility: for templates that ease any task.
*Other: for templates that don't fit in the other categories.
 
==={{{Sub}}}===
Specify with "Yes" or "No" if the template is made as part of another template. Only do this if the template serves no other purpose.


==={{{Designer#}}}===
Specify the maker(s) here.


==={{{Notes}}}===
Add any notes here.




==Examples==
<pre>{{Template}}</pre>
{{Template}}





Latest revision as of 05:52, 6 October 2023

This template is used to sort all templates into sub-categories and to give someone sifting through them some quick information.


Syntax

{{Template
|Name=
|Type=
|Type2=
|Type3=
|Sub=
|Designer=
|Designer2=
|Designer3=
|Notes=
}}


Parameters

{{{Name}}}

Specify the name of the template here.

{{{Type#}}}

Specify the type of template here, the types are:

  • Administration: for templates for SysOps ot Administrators.
  • Formatting: for templates that aid or simplify formatting.
  • Info Box: for templates that create or aid infoboxes.
  • Navigation: for templates that ease navigation from page to page.
  • Organising: for templates that sort pages.
  • Utility: for templates that ease any task.
  • Other: for templates that don't fit in the other categories.

{{{Sub}}}

Specify with "Yes" or "No" if the template is made as part of another template. Only do this if the template serves no other purpose.

{{{Designer#}}}

Specify the maker(s) here.

{{{Notes}}}

Add any notes here.


Examples

{{Template}}
Name: Please Specify
Type: Please Specify
Sub-Template: Please Specify
Designer: Please Specify






{{Template
|Name=Example
|Type=Example
|Type2=Example
|Type3=Example
|Sub=No
|Designer=wgeurts
|Designer2=wgeurts
|Designer3=wgeurts
|Notes=This is an example.}}
Name:
  • Example
Types:
Sub-Template:
  • No
Designers:
Notes: This is an example.