Difference between revisions of "Template:Snapzilla"

From Second Life Wiki
Jump to navigation Jump to search
(using switch instead of nested if loops)
m (this is getting rather annoying)
Line 1: Line 1:
<includeonly>{{ #ifeq: {{{display-url}}}|enabled||[}}{{#switch: {{{mode}}} |user=http://www.sluniverse.com/pics/Default.aspx?Name=|photo=http://www.sluniverse.com/pics/pic.aspx?id=|<strong style="color:red;">UNSUPPORTED MODE IN [[Template:Snapzilla]]</strong>}}
<includeonly>{{ #ifeq: {{{display-url|}}}|enabled||[}}{{#switch: {{{mode}}} |user=http://www.sluniverse.com/pics/Default.aspx?Name=|photo=http://www.sluniverse.com/pics/pic.aspx?id=|<strong style="color:red;">UNSUPPORTED MODE IN [[Template:Snapzilla]]</strong>}}{{urlencode:{{{key}}}}}{{ #ifeq: {{{display-url}}}|enabled||{{ #ifeq: {{{no-title}}}|enabled||{{ #if: {{{title|}}}|<nowiki> </nowiki>{{{title}}}|}}|}}]}}</includeonly><noinclude>
{{urlencode:{{{key}}}}}{{ #ifeq: {{{display-url}}}|enabled||{{ #ifeq: {{{no-title}}}|enabled||{{ #if: {{{title|}}}|<nowiki> </nowiki>{{{title}}}|}}|}}]}}</includeonly><noinclude>
{{snapzilla
{{snapzilla
|mode=user
|mode=user

Revision as of 22:02, 12 January 2007