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
(Created page with "<includeonly>{| cellpadding="0" cellspacing="0" style="clear:right; float:right; margin:0px 5px 5px 5px; padding:5px 5px 0px 0px; width:180px; border:#AAA solid 1px; {{Linear-...")
 
(Undo revision 147579 by Ariel (talk|contribs))
Tag: Undo
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| cellpadding="0" cellspacing="0" style="clear:right; float:right; margin:0px 5px 5px 5px; padding:5px 5px 0px 0px; width:180px; border:#AAA solid 1px; {{Linear-gradient |right bottom|#F8F8FA 1%, #FFFFFF}};"
<includeonly>{| cellpadding="0" cellspacing="0" style="clear:right; float:right; margin:0px 5px 5px 5px; padding:5px 5px 0px 0px; width:200px; border:#AAA solid 1px; {{Linear-gradient |right bottom|#F8F8FA 1%, #FFFFFF}};"
|
|
{| cellpadding="2" cellspacing="2" style="border:#AAA solid 1px; width: 180px; text-align: left; font-size: 8pt; margin: 0px 0px 5px 5px;"
{| cellpadding="2" cellspacing="2" style="border:#AAA solid 1px; width: 200px; text-align: left; font-size: 8pt; margin: 0px 0px 5px 5px;"
| style="{{Linear-gradient |left|#CECECE 5%, #EEE}};" align="center" width="080" | '''Name''':
| style="{{Linear-gradient |left|#CECECE 5%, #EEE}};" align="center" width="100" | '''Name''':
| width="100" | {{#if:{{{Name|}}}|*{{{Name}}}|'''Please Specify'''}}
| width="100" | {{#if:{{{Name|}}}|*{{{Name}}}|'''Please Specify'''}}
|-
|-
| style="{{Linear-gradient |left|#CECECE 5%, #EEE}};" align="center" width="080" | '''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="080" | '''Sub-Template''':
| style="{{Linear-gradient |left|#CECECE 5%, #EEE}};" align="center" width="100" | '''Sub-Template''':
| width="100" | {{#if:{{{Sub|}}}|*{{{Sub}}}|'''Please Specify'''}}
| width="100" | {{#if:{{{Sub|}}}|*{{{Sub}}}|'''Please Specify'''}}
|-
|-
| style="{{Linear-gradient |left|#CECECE 5%, #EEE}};" align="center" width="080" | '''Designer{{#if:{{{Designer2|}}}|s|}}''':
| style="{{Linear-gradient |left|#CECECE 5%, #EEE}};" align="center" width="100" | '''Designer{{#if:{{{Designer2|}}}|s|}}''':
| width="100" | {{#if:{{{Designer|}}}|*[[{{{Designer}}}]]|'''Please Specify'''}} {{#if:{{{Designer2|}}}|*[[{{{Designer2}}}]]|}} {{#if:{{{Designer3|}}}|*[[{{{Designer3}}}]]|}}
| width="100" | {{#if:{{{Designer|}}}|*[[{{{Designer}}}]]|'''Please Specify'''}} {{#if:{{{Designer2|}}}|*[[{{{Designer2}}}]]|}} {{#if:{{{Designer3|}}}|*[[{{{Designer3}}}]]|}}
|-
|-
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]]|}}|}}
{{#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.
 
 
==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>
<pre>{{Template}}</pre>
{{Template}}
{{Template}}
<pre>
<pre>
{{Template
{{Template
|Name=Example
|Name=Example
|Type1=Example
|Type=Example
|Type2=Example
|Type2=Example
|Type3=Example
|Type3=Example
Line 36: Line 87:
{{Template
{{Template
|Name=Example
|Name=Example
|Type1=Example
|Type=Example
|Type2=Example
|Type2=Example
|Type3=Example
|Type3=Example

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.