Difference between revisions of "Template:Snapzilla"
(→Examples: updated examples) |
(→Examples: whoops- thanks for catching that Baba) |
||
Line 54: | Line 54: | ||
|mode=user | |mode=user | ||
|key=SignpostMarv Martin | |key=SignpostMarv Martin | ||
|}}</nowiki></pre></code></div> | |}}</nowiki></pre></code></div> | ||
Latest revision as of 23:23, 12 January 2007
Usage
{{snapzilla
|mode=
|key=
|title=
|display-url=
|no-title=
|}}
mode Used in combination with the key variable to create a link to the desired section of the Snapzilla site.
- 'user'
- makes the URL point to the listing of all photos by the Resident specified with the 'key' variable.
- 'photo'
- makes the URL point to the page for the photo specified with the 'key' variable.
key This is either the name of a Resident, or the ID number of a photo page.
title This is the text to display instead of the full URL or link number.
display-url When this is set to 'enabled', the link will be displayed as the full URL, without a title.
no-title When this is set to 'enabled', the link will be displayed as a number, referring to the link's placement in the list of links available in the article.
Examples
SignpostMarv's photos on Snapzilla Is produced with the following code:
{{snapzilla
|mode=user
|key=SignpostMarv Martin
|title=SignpostMarv's photos on Snapzilla
|}}
[1] can be produced with either of two following blocks of code:
{{snapzilla
|mode=user
|key=SignpostMarv Martin
|title=SignpostMarv's photos on Snapzilla
|no-title=enabled
|}}
{{snapzilla
|mode=user
|key=SignpostMarv Martin
|}}
snapshot - watermelon totem! is produced with the following code:
{{snapzilla
|mode=photo
|key=96571
|title=watermelon totem!
|}}
http://www.sluniverse.com/pics/pic.aspx?id=96571 is produced with the following code:
{{snapzilla
|mode=photo
|key=96571
|display-url=true
|}}