User:Llwy-ar-lawr/sandbox

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

1[edit | edit source]

Special:Random | randompage

2[edit | edit source]

UnNews[edit | edit source]

  • Plain page name: {{#dpl: namespace = UnNews | randomcount = 1 | notcategory = UnNews archives | format = ,%PAGE% }} -> UnNews:Goalkeeper killed by shot
  • Title with link: {{#dpl: namespace = UnNews | randomcount = 1 | notcategory = UnNews archives | format = [[,%PAGE%]] }} -> UnNews:Occupy protesters closer to developing nuclear weapons

Mainspace[edit | edit source]

  • Plain page title: {{#dpl: namespace = | randomcount = 1 | format = ,%PAGE% }} -> An article that contains nothing but my potato chip situation
  • Title with link: {{#dpl: namespace = | randomcount = 1 | format = [[,%PAGE%]] }} -> Nofu/

File[edit | edit source]

DPL
  • Plain page title: {{#dpl: namespace = File | randomcount = 1 | format = ,%PAGE% }} -> :File:000 Run-Down Building on Ermou, Athens 01 CROPPED, SMALL.jpg
  • Title with link: {{#dpl: namespace = File | randomcount = 1 | format = [[:,%PAGE%]] }} -> [[::File:068.jpg]]
  • Thumbnail (or whatever): Can't be done with DPL, as it automatically inserts a colon before the file name. (Don't you love smart software that thinks it knows what you want?) To produce a random thumbnail, rather than a link, we must resort to using RandomImage.
RandomImage
Wiki markup Result Notes
<randomimage />

== Summary ==
It's usually not obvious, but this usage of the tag is supposed to grab the caption from the file description page. It doesn't understand about section headers, though--if the file contains '== Summary ==' or something to that effect as the first line (which it often does), it'll use that as the caption. Probably best not to leave the caption up to what the extension thinks it should be, since it's stupid about it.
<randomimage>Caption goes here</randomimage>

Caption goes here
<randomimage></randomimage>

File:UnNews Iran president urges West to follow his crazy God.MP3

Same as <randomimage />. You won't be getting out of the retarded automatic caption so easily. ;)
<randomimage> </randomimage>

Garbage Bin .JPG
Yep, that'll override the caption. Nice.
<randomimage size="100" float="left" choices="Apple.jpg|Pear.jpg" />

A Wild African Bush Apple of the Sarenspaghetti Plains

Template:Random image Template:Random image Template:Random image