Difference between revisions of "Template:Exclusive/doc"

From blackwiki
Jump to navigation Jump to search
imported>Cedar101
m (lang="text")
imported>WOSlinker
m (change source to syntaxhighlight)
 
Line 35: Line 35:
  
 
== Example ==
 
== Example ==
<source lang="text">
+
<syntaxhighlight lang="text">
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
!  
 
!  
Line 52: Line 52:
 
| {{XConsole}}||''[[Y]]''
 
| {{XConsole}}||''[[Y]]''
 
|}
 
|}
</source>
+
</syntaxhighlight>
  
 
produces:
 
produces:
Line 73: Line 73:
  
 
== Example (Simple) ==
 
== Example (Simple) ==
<source lang="text">
+
<syntaxhighlight lang="text">
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
!  
 
!  
Line 86: Line 86:
 
| ||''[[C]]''
 
| ||''[[C]]''
 
|}
 
|}
</source>
+
</syntaxhighlight>
  
 
Produces:
 
Produces:

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