Template:Wikis: Difference between revisions

From IFWiki

(attempting to add a baf-archive option; hope this works)
(...with more correct syntax)
 
(3 intermediate revisions by 3 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/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>
<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>{{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>{{link|deadurl=http://wiki.caad.es/{{{es}}}|archive=https://web.archive.org/web/20230514150140/https://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 9: Line 9:
* '''baf-archive''' = full URL of archived page -- Baf's Guide ''(archived)''.
* '''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.org/</nowiki>'''ifdb''' -- IFDB (an English database about IF).
* '''ifro''' = <nowiki>http://www.ifreviews.org/index.php?</nowiki>'''ifro''' -- Interactive Fiction Reviews Organization.
* '''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).
* '''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).
* '''es''' = Wayback Machine link for <nowiki>https://wiki.caad.es/</nowiki>'''es''' -- WikiCAAD (a former Spanish wiki about IF).
* '''wp''' = <nowiki>http://en.wikipedia.org/wiki/</nowiki>'''wp''' -- Wikipedia.
* '''wp''' = <nowiki>http://en.wikipedia.org/wiki/</nowiki>'''wp''' -- Wikipedia.
* '''zork''' = <nowiki>http://zork.wikia.com/wiki/</nowiki>'''zork''' -- Zork Wiki.
* '''zork''' = <nowiki>http://zork.wikia.com/wiki/</nowiki>'''zork''' -- Zork Wiki.

Latest revision as of 22:15, 28 March 2024

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 = Wayback Machine link for https://wiki.caad.es/es -- WikiCAAD (a former 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.