Useful: Difference between revisions

From TV-Nihon
mNo edit summary
mNo edit summary
 
Line 16: Line 16:
</pre>
</pre>
==Collapsible table==
==Collapsible table==
<pre style="overflow:auto;">
{| class="wikitable sortable collapsible"
{| class="wikitable sortable collapsible"
|-
|-
|}
|}
</pre>
==Finding where pages are linked from==
http://wiki.tvnihon.com/w/index.php?title=Special:WhatLinksHere/PAGENAMEHERE

Latest revision as of 13:52, 10 January 2015

If Code

 {{#if:x| p | q }} gives "p" 

{{#if:  {{{4}}}|[[{{{4}}}]]|'''N/A'''}}

http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23if

If Equal

{{#ifeq: string 1 | string 2 | value if identical | value if different }}

If Exist

{{#ifexist: {{{{{1}}}/list|{{{2}}}}} Guests|[[{{{{{1}}}/list|{{{2}}}}} Guests|Guests]]<br>}}

Collapsible table

{| class="wikitable sortable collapsible"
|-
|}

Finding where pages are linked from

http://wiki.tvnihon.com/w/index.php?title=Special:WhatLinksHere/PAGENAMEHERE