Difference between revisions of "Template:Exclusive/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rukario-sama
imported>WOSlinker
m (change source to syntaxhighlight)
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Adds exclusivity cell to the list of games sortable table. The prefix "X" in some template names stands for "Exclusive", inspired from [[XOR]].
 
Adds exclusivity cell to the list of games sortable table. The prefix "X" in some template names stands for "Exclusive", inspired from [[XOR]].
 
{| class="wikitable"
 
{| class="wikitable"
 +
!
 +
!Simple
 +
!
 +
!Simple
 
|-
 
|-
|{{Tlx|Edition}}
+
|colspan="2"|{{Tlx|Edition}}
|{{legend2|#DDF|Edition/Remake exclusive|border=1px solid #AAAAAA}}
+
|colspan="2"|{{legend2|#DDF|Edition/Remake exclusive|border=1px solid #AAAAAA}}
 
|-
 
|-
|{{Tlx|Exclusive}}
+
|colspan="2"|{{Tlx|Exclusive}}
|{{legend2|#9F9|Exclusive to this console|border=1px solid #AAAAAA}}
+
|colspan="2"|{{legend2|#9F9|Exclusive to this console|border=1px solid #AAAAAA}}
 
|-
 
|-
 
|{{Tlx|XMicrosoft}}<br />
 
|{{Tlx|XMicrosoft}}<br />
 
{{Tlx|XNintendo}}<br />
 
{{Tlx|XNintendo}}<br />
 
{{Tlx|XSony}}<br />
 
{{Tlx|XSony}}<br />
 +
|rowspan="2"|{{Tlx|XCC}}
 
|{{legend2|#BFD|Company (Microsoft/Nintendo/Sony)|border=1px solid #AAAAAA}}
 
|{{legend2|#BFD|Company (Microsoft/Nintendo/Sony)|border=1px solid #AAAAAA}}
 +
|rowspan="2"|{{legend2|#8DB|Console/Company|border=1px solid #AAAAAA}}
 
|-
 
|-
|{{Tlx|XCC}}
+
|{{Tlx|XConsole}}
|{{legend2|#8DB|Console/Company|border=1px solid #AAAAAA}}
+
|{{legend2|#FDD|Console|border=1px solid #AAAAAA}}
 
|-
 
|-
|{{Tlx|Timed}}
+
|colspan="2"|{{Tlx|Timed}}
|{{legend2|#D66|Timed|border=1px solid #AAAAAA}}
+
|colspan="2"|{{legend2|#D66|Timed|border=1px solid #AAAAAA}}
 
|-
 
|-
 +
|{{Tlx|NX}}
 
|{{n/a|None}}
 
|{{n/a|None}}
|{{legend2|#F9F9F9|Multiplatform(Non-exclusive)|border=1px solid #AAAAAA}}
+
|{{legend2|#F99|Multiplatform (Non-exclusive)|border=1px solid #AAAAAA}}
 +
|{{legend2|#F9F9F9|Multiplatform|border=1px solid #AAAAAA}}
 
|}
 
|}
  
 
== Example ==
 
== Example ==
<source lang="moin">
+
<syntaxhighlight lang="text">
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
!  
 
!  
Line 36: Line 44:
 
| {{Exclusive}}||''[[B]]''
 
| {{Exclusive}}||''[[B]]''
 
|-
 
|-
| {{XCC}}||''[[Z]]''
+
| {{Timed}}||''[[L]]''
 
|-
 
|-
| ||''[[L]]''
+
| {{NX}}||''[[R]]''
 
|-
 
|-
 
| {{XNintendo}}||''[[X]]''
 
| {{XNintendo}}||''[[X]]''
 +
|-
 +
| {{XConsole}}||''[[Y]]''
 
|}
 
|}
</source>
+
</syntaxhighlight>
 +
 
 +
produces:
 +
{| class="wikitable sortable"
 +
!
 +
! Title
 +
|-
 +
| {{Edition}}||''[[A]]''
 +
|-
 +
| {{Exclusive}}||''[[B]]''
 +
|-
 +
| {{Timed}}||''[[L]]''
 +
|-
 +
| {{NX}}||''[[R]]''
 +
|-
 +
| {{XNintendo}}||''[[X]]''
 +
|-
 +
| {{XConsole}}||''[[Y]]''
 +
|}
 +
 
 +
== Example (Simple) ==
 +
<syntaxhighlight lang="text">
 +
{| class="wikitable sortable"
 +
!
 +
! Title
 +
|-
 +
| {{Edition}}||''[[A]]''
 +
|-
 +
| {{Exclusive}}||''[[B]]''
 +
|-
 +
| {{XCC}}||''[[Z]]''
 +
|-
 +
| ||''[[C]]''
 +
|}
 +
</syntaxhighlight>
  
 
Produces:
 
Produces:
Line 55: Line 99:
 
| {{XCC}}||''[[Z]]''
 
| {{XCC}}||''[[Z]]''
 
|-
 
|-
| ||''[[L]]''
+
| ||''[[C]]''
|-
 
| {{XNintendo}}||''[[R]]''
 
 
|}
 
|}
  

Latest revision as of 12:38, 7 July 2020

Usage

Adds exclusivity cell to the list of games sortable table. The prefix "X" in some template names stands for "Exclusive", inspired from XOR.

Simple Simple
{{Edition}}   Edition/Remake exclusive
{{Exclusive}}   Exclusive to this console
{{XMicrosoft}}

{{XNintendo}}
{{XSony}}

{{XCC}}   Company (Microsoft/Nintendo/Sony)   Console/Company
{{XConsole}}   Console
{{Timed}}   Timed
{{NX}} None   Multiplatform (Non-exclusive)   Multiplatform

Example

{| class="wikitable sortable"
! 
! Title
|-
| {{Edition}}||''[[A]]''
|-
| {{Exclusive}}||''[[B]]''
|-
| {{Timed}}||''[[L]]''
|-
| {{NX}}||''[[R]]''
|-
| {{XNintendo}}||''[[X]]''
|-
| {{XConsole}}||''[[Y]]''
|}

produces:

Title
A
B
Template:Timed L
Template:NX R
Template:XNintendo X
Template:XConsole Y

Example (Simple)

{| class="wikitable sortable"
! 
! Title
|-
| {{Edition}}||''[[A]]''
|-
| {{Exclusive}}||''[[B]]''
|-
| {{XCC}}||''[[Z]]''
|-
| ||''[[C]]''
|}

Produces:

Title
A
B
Template:XCC Z
C