Difference between revisions of "Template:Exclusive/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rukario-sama
(Undid revision 763878677 by Rukario-sama (talk) - I'm not sure anymore)
imported>Cedar101
m (lang="text")
Line 35: Line 35:
  
 
== Example ==
 
== Example ==
<source lang="moin">
+
<source lang="text">
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
!  
 
!  
Line 73: Line 73:
  
 
== Example (Simple) ==
 
== Example (Simple) ==
<source lang="moin">
+
<source lang="text">
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
!  
 
!  

Revision as of 06:23, 12 September 2017

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