Difference between revisions of "Template:Exclusive/doc"

From blackwiki
Jump to navigation Jump to search
imported>Cedar101
m (source lang="moin")
imported>WOSlinker
m (change source to syntaxhighlight)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
== Usage ==
Adds exclusivity cell to the list of games sortable table. The first letter ("X") in the title was inspired from [[XOR]], it stands for "Exclusive".
+
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"
 
!
 
!
Line 9: Line 9:
 
!Simple
 
!Simple
 
|-
 
|-
|colspan="2"|{{Tlx|XEdition}}
+
|colspan="2"|{{Tlx|Edition}}
 
|colspan="2"|{{legend2|#DDF|Edition/Remake&nbsp;exclusive|border=1px solid #AAAAAA}}
 
|colspan="2"|{{legend2|#DDF|Edition/Remake&nbsp;exclusive|border=1px solid #AAAAAA}}
 
|-
 
|-
|colspan="2"|{{Tlx|XExclusive}}
+
|colspan="2"|{{Tlx|Exclusive}}
 
|colspan="2"|{{legend2|#9F9|Exclusive to this console|border=1px solid #AAAAAA}}
 
|colspan="2"|{{legend2|#9F9|Exclusive to this console|border=1px solid #AAAAAA}}
 
|-
 
|-
Line 25: Line 25:
 
|{{legend2|#FDD|Console|border=1px solid #AAAAAA}}
 
|{{legend2|#FDD|Console|border=1px solid #AAAAAA}}
 
|-
 
|-
|colspan="2"|{{Tlx|XTimed}}
+
|colspan="2"|{{Tlx|Timed}}
 
|colspan="2"|{{legend2|#D66|Timed|border=1px solid #AAAAAA}}
 
|colspan="2"|{{legend2|#D66|Timed|border=1px solid #AAAAAA}}
 
|-
 
|-
Line 35: Line 35:
  
 
== Example ==
 
== Example ==
<source lang="moin">
+
<syntaxhighlight lang="text">
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
!  
 
!  
 
! Title
 
! Title
 
|-
 
|-
| {{XEdition}}||''[[A]]''
+
| {{Edition}}||''[[A]]''
 
|-
 
|-
| {{XExclusive}}||''[[B]]''
+
| {{Exclusive}}||''[[B]]''
 
|-
 
|-
| {{XTimed}}||''[[L]]''
+
| {{Timed}}||''[[L]]''
 
|-
 
|-
 
| {{NX}}||''[[R]]''
 
| {{NX}}||''[[R]]''
Line 52: Line 52:
 
| {{XConsole}}||''[[Y]]''
 
| {{XConsole}}||''[[Y]]''
 
|}
 
|}
</source>
+
</syntaxhighlight>
  
 
produces:
 
produces:
Line 59: Line 59:
 
! Title
 
! Title
 
|-
 
|-
| {{XEdition}}||''[[A]]''
+
| {{Edition}}||''[[A]]''
 
|-
 
|-
| {{XExclusive}}||''[[B]]''
+
| {{Exclusive}}||''[[B]]''
 
|-
 
|-
| {{XTimed}}||''[[L]]''
+
| {{Timed}}||''[[L]]''
 
|-
 
|-
 
| {{NX}}||''[[R]]''
 
| {{NX}}||''[[R]]''
Line 73: Line 73:
  
 
== Example (Simple) ==
 
== Example (Simple) ==
<source lang="moin">
+
<syntaxhighlight lang="text">
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
!  
 
!  
 
! Title
 
! Title
 
|-
 
|-
| {{XEdition}}||''[[A]]''
+
| {{Edition}}||''[[A]]''
 
|-
 
|-
| {{XExclusive}}||''[[B]]''
+
| {{Exclusive}}||''[[B]]''
 
|-
 
|-
 
| {{XCC}}||''[[Z]]''
 
| {{XCC}}||''[[Z]]''
Line 86: Line 86:
 
| ||''[[C]]''
 
| ||''[[C]]''
 
|}
 
|}
</source>
+
</syntaxhighlight>
  
 
Produces:
 
Produces:
Line 93: Line 93:
 
! Title
 
! Title
 
|-
 
|-
| {{XEdition}}||''[[A]]''
+
| {{Edition}}||''[[A]]''
 
|-
 
|-
| {{XExclusive}}||''[[B]]''
+
| {{Exclusive}}||''[[B]]''
 
|-
 
|-
 
| {{XCC}}||''[[Z]]''
 
| {{XCC}}||''[[Z]]''

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