Wikia

Narutopedia

And

Talk0
5,391pages on
this wiki

Template page

Revision as of 06:22, September 6, 2010 by Jacce (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Network-Logo-Animepedia Please Note, this page is synced using the TagSyncBot. When the bot is run any change you have made to this page will be overwritten. Please make changes on its page on the Animepedia at Anime:Template:And.

{{and}} is a logical template used in conjunction with parserfunctions to give the plaintext parserfunctions the ability to use logical and/or statements. (or already works simply by putting variables side by side such as {{{1|}}}{{{2|}}})

Usage

{{and|#if 1|#if 2}}
{{and|#if 1|#if 2|false=...}}
  • #if 1 and #if 2 are put directly into {{#if:}} parserfunctions so the rules for using them are the same as with the #if parserfunction.
  • Only 2 #if's are supported.
  • A 1 is returned if true, and blank if false is not specified. So {{and}} is compatible with both #if and also #ifexpr if you use false=0.

Around Wikia's network

Random Wiki