Difference between revisions of "Template:Wikis"

From IFWiki
Jump to: navigation, search
 
m (Text replacement - "ifdb.tads.org" to "ifdb.org")
 
(8 intermediate revisions by 2 users not shown)
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:<br>{{{%1}}}</div><noinclude>[[Category:Templates|Wikis]]</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.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">
 +
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''' = <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).
 +
* '''ifdb''' = <nowiki>http://ifdb.org/</nowiki>'''ifdb''' -- IFDB (an English database about IF).
 +
* '''ifro''' = <nowiki>http://www.ifreviews.org/index.php?</nowiki>'''ifro''' -- Interactive Fiction Reviews Organization.
 +
* '''ifwizz''' = <nowiki>http://ifwizz.de/</nowiki>'''ifwizz'''.html -- ifwizz (a German database about IF).
 +
* '''es''' = <nowiki>http://wiki.caad.es/</nowiki>'''es''' -- WikiCAAD (a Spanish wiki about IF).
 +
* '''wp''' = <nowiki>http://en.wikipedia.org/wiki/</nowiki>'''wp''' -- Wikipedia.
 +
* '''zork''' = <nowiki>http://zork.wikia.com/wiki/</nowiki>'''zork''' -- Zork Wiki.
 +
 
 +
Example for Category:Fantasy:
 +
 
 +
<nowiki>{{wikis|baf=genre/3|es=Categoría:Fantasía|ifdb=search?searchfor=genre%3Afantasy|ifwizz=interactive-fiction-genres-fantasy|wp=Fantasy}}</nowiki>
 +
 
 +
Note: This template uses the [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions ParserFunctions] extension.
 +
[[Category:Templates|Wikis]]</noinclude>

Latest revision as of 00:37, 3 March 2021

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.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.