We've Moved! Just as Gamepedia has joined forces with Fandom, this wiki had joined forces with our Fandom equivalent. The wiki has been archived and we ask that readers and editors move to the now combined wiki on Fandom. Click to go to the new wiki.

Template:P1

From The Vault - Fallout Wiki
Jump to: navigation, search
Template documentation (for the template shown above, sometimes hidden or invisible)

Parameter selection template.

Explanation

*"{{#switch: p |p= q |r=s}}"
*"{{#switch:p| p = q |r=s}}"

gives

  • "q"
  • "q"

Thus, both from index values and from results, spaces are stripped.

As a workaround one can use parameter selection templates Pn:

"{{p{{#switch:p|p=1|r=2}}| q |s}}" gives " q "

Usage

{{P1|1}}


Copyright.pngThe contents of this page were entirely or partially copied from Wikipedia, the Free Encyclopedia, and are therefore licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. The original version, its history and authors can be found at the Wikipedia page "Template:P1".
Documentation transcluded from Template:P1/doc.