Template:Wikis: Difference between revisions
From IFWiki
(+ Zork Wiki) |
(attempting to add a baf-archive option; hope this works) |
||
Line 1: | Line 1: | ||
<div style="float:right; clear:right; border:1px #CCC solid; margin-left:1em; margin-bottom:1em; padding:5px;">in other wikis/dbs:<ul>{{#if:{{{baf|}}}|<li>[http://wurb.com/if/{{{baf}}} Baf's Guide]</li>|}}{{#if:{{{ru|}}}|<li>[http://ifwiki.ru/{{{ru}}} IFВики]</li>|}}{{#if:{{{ifdb|}}}|<li>[http://ifdb.tads.org/{{{ifdb}}} IFDB]</li>|}}{{#if:{{{ifro|}}}|<li>[http://www.ifreviews.org/index.php?{{{ifro}}} IFRO]</li>|}}{{#if:{{{ifwizz|}}}|<li>[http://ifwizz.de/{{{ifwizz}}}.html ifwizz]</li>|}}{{#if:{{{es|}}}|<li>[http://wiki.caad.es/{{{es}}} WikiCAAD]</li>|}}{{#if:{{{wp|}}}|<li>[http://en.wikipedia.org/wiki/{{{wp}}} Wikipedia]</li>|}}{{#if:{{{zork|}}}|<li>[http://zork.wikia.com/wiki/{{{zork}}} Zork Wiki]</li>|}}</ul></div><noinclude> | <div style="float:right; clear:right; border:1px #CCC solid; margin-left:1em; margin-bottom:1em; padding:5px;">in other wikis/dbs:<ul>{{#if:{{{baf|}}}|<li>[http://wurb.com/if/{{{baf}}} Baf's Guide]</li>|}}{{#if:{{{baf-archive|}}}|<li>{{dead link|archive={{{baf-archive}}}|Baf's Guide}}</li>|}}{{#if:{{{ru|}}}|<li>[http://ifwiki.ru/{{{ru}}} IFВики]</li>|}}{{#if:{{{ifdb|}}}|<li>[http://ifdb.tads.org/{{{ifdb}}} IFDB]</li>|}}{{#if:{{{ifro|}}}|<li>[http://www.ifreviews.org/index.php?{{{ifro}}} IFRO]</li>|}}{{#if:{{{ifwizz|}}}|<li>[http://ifwizz.de/{{{ifwizz}}}.html ifwizz]</li>|}}{{#if:{{{es|}}}|<li>[http://wiki.caad.es/{{{es}}} WikiCAAD]</li>|}}{{#if:{{{wp|}}}|<li>[http://en.wikipedia.org/wiki/{{{wp}}} Wikipedia]</li>|}}{{#if:{{{zork|}}}|<li>[http://zork.wikia.com/wiki/{{{zork}}} Zork Wiki]</li>|}}</ul></div><noinclude> | ||
<hr style="clear:both"> | <hr style="clear:both"> | ||
This template makes a short bulleted list of links to related pages in IF-related wikis, IF-related databases, and Wikipedia that floats to the right side of the page. If used, it should be specified first so that it goes to the top-right corner of the page. | This template makes a short bulleted list of links to related pages in IF-related wikis, IF-related databases, and Wikipedia that floats to the right side of the page. If used, it should be specified first so that it goes to the top-right corner of the page. | ||
Line 7: | Line 7: | ||
Arguments defined for this template: | Arguments defined for this template: | ||
* '''baf''' = <nowiki>http://wurb.com/if/</nowiki>'''baf''' -- Baf's Guide. | * '''baf''' = <nowiki>http://wurb.com/if/</nowiki>'''baf''' -- Baf's Guide. | ||
* '''baf-archive''' = full URL of archived page -- Baf's Guide ''(archived)''. | |||
* '''ru''' = <nowiki>http://ifwiki.ru/</nowiki>'''ru''' -- IFВики (a Russian wiki about IF). | * '''ru''' = <nowiki>http://ifwiki.ru/</nowiki>'''ru''' -- IFВики (a Russian wiki about IF). | ||
* '''ifdb''' = <nowiki>http://ifdb.tads.org/</nowiki>'''ifdb''' -- IFDB (an English database about IF). | * '''ifdb''' = <nowiki>http://ifdb.tads.org/</nowiki>'''ifdb''' -- IFDB (an English database about IF). |
Revision as of 12:43, 20 June 2016
in other wikis/dbs:
This template makes a short bulleted list of links to related pages in IF-related wikis, IF-related databases, and Wikipedia that floats to the right side of the page. If used, it should be specified first so that it goes to the top-right corner of the page.
It is primarily intended for the use of Category pages. Usage on regular article pages is discouraged, although not forbidden.
Arguments defined for this template:
- baf = http://wurb.com/if/baf -- Baf's Guide.
- baf-archive = full URL of archived page -- Baf's Guide (archived).
- ru = http://ifwiki.ru/ru -- IFВики (a Russian wiki about IF).
- ifdb = http://ifdb.tads.org/ifdb -- IFDB (an English database about IF).
- ifro = http://www.ifreviews.org/index.php?ifro -- Interactive Fiction Reviews Organization.
- ifwizz = http://ifwizz.de/ifwizz.html -- ifwizz (a German database about IF).
- es = http://wiki.caad.es/es -- WikiCAAD (a Spanish wiki about IF).
- wp = http://en.wikipedia.org/wiki/wp -- Wikipedia.
- zork = http://zork.wikia.com/wiki/zork -- Zork Wiki.
Example for Category:Fantasy:
{{wikis|baf=genre/3|es=Categoría:Fantasía|ifdb=search?searchfor=genre%3Afantasy|ifwizz=interactive-fiction-genres-fantasy|wp=Fantasy}}
Note: This template uses the ParserFunctions extension.