Difference between revisions of "Template:In other media/row"

From Yugipedia
Jump to: navigation, search
(Created page with "<noinclude><table></noinclude> <tr> <td>{{{Page}}}</td> <td>{{ #if: {{{Release}}} | {{{Release}}} | {{{Medium}}} }}</td> <td title="{{{Debut date}}}">{{{Debut date ISO}}...")
 
(Restoring revision 4656693 by User:Dinoguy1000 on 2021-03-17 08:00:16. "I was wrong about those simplifying anything, actually, but this one *does*")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude><table></noinclude>
+
<noinclude><table></noinclude><!--
<tr>
+
 
 +
* When `sort = Debut date` is used in SMW, records with no debut date will be excluded from the results.
 +
* To get around this, two queries are used. One for getting records with debut dates and one for getting those without.
 +
* SMW cannot query for the absence of a property, so `#userparam = no date only` is instead used to filter out records with debut dates for the second query.
 +
 
 +
-->{{ #if: {{ #ifeq: {{{#userparam}}} | no date only | {{{Debut date ISO|}}} }}
 +
|
 +
| <tr>
 
   <td>{{{Page}}}</td>
 
   <td>{{{Page}}}</td>
 
   <td>{{ #if: {{{Release}}} | {{{Release}}} | {{{Medium}}} }}</td>
 
   <td>{{ #if: {{{Release}}} | {{{Release}}} | {{{Medium}}} }}</td>
   <td title="{{{Debut date}}}">{{{Debut date ISO}}}</td>
+
   <td title="{{{Debut date|}}}">{{{Debut date ISO|}}}</td>
 
</tr>
 
</tr>
 +
}}
 
<noinclude></table></noinclude>
 
<noinclude></table></noinclude>

Latest revision as of 02:32, 15 March 2023

{{{Page}}} {{{Release}}}