User:Lar/WikiMatrixHardCodedWiki
< User:Lar
|- bgcolor="#f9f9f9" | BrickWiki (Main Page) | align="center" | User:Jimbo Wales | align="center" | User talk:Jimbo Wales | align="center" | Contribs | align="center" | Logs | align="center" | n/a
Usage
editThe following gives the parameter meanings...
bgcolor | 0 for light, 1 for dark, any other value passes through unchanged, default is light ("#f9f9f9") |
---|---|
user | user name (you do not need to convert spaces to underscores as it uses {{urlencode:}}ing) |
is_admin | yes to highlight in green, crat to highlight it in orange |
wiki_url | The URL to the wiki, similar to what is used in the interwiki list. Typically of the form (depending) .. should be able to stick a page ref on the end of it and in order to work with special needs to be the "title=" format |
wiki_name | The name of the wiki for links (you do not need to convert spaces to underscores as it uses {{urlencode:}}ing) |
main_page_title | name of the main page that it is is known by (Main page, Haupteseite, etc) (you do not need to convert spaces to underscores as it uses {{urlencode:}}ing) |
want_counter | yes to use interiot's tool2 counter (has to be installed there) |
lang_name | name of language (English, German, Farsi, etc) (may not be relevant except for display...) |
lang_code | 2 letter code for language (en,de,fa, etc) (may not be relevant except for display) |
Example
editThe following code:
{| class="toccolours" style="margin: 0 1em 0 1em;" width="95%" ! align="center" style="background:#ccccff" | Host Wiki ! align="center" style="background:#ccccff" | User Page ! align="center" style="background:#ccccff" | User Talk ! align="center" style="background:#ccccff" | Contributions ! align="center" style="background:#ccccff" | Logs ! align="center" style="background:#ccccff" | Counts <!-- end header section --> {{User:Lar/WikiMatrixFoundationWiki|bgcolor=0|user=Lar|is_admin=yes |wiki_type=w|lang_name=English|lang_code=en|want_counter=yes|main_page_title=Main Page}} {{User:Lar/WikiMatrixFoundationWiki|bgcolor=lightgreen|user=Lar |wiki_type=q|lang_name=German|lang_code=de|want_counter=no|main_page_title=Haupteseite}} {{User:Lar/WikiMatrixHardCodedWiki|bgcolor=0|user=Lar|is_admin=yes |wiki_url=http://brickwiki.org/index.php?title=|wiki_name=BrickWiki |lang_name=English|lang_code=en|want_counter=no|main_page_title=Main Page}} {{User:Lar/WikiMatrixHardCodedWiki|bgcolor=1|user=Lar|is_admin=crat |wiki_url=http://greatlakeswiki.org/index.php/|wiki_name=Great Lakes Wiki |lang_name=English|lang_code=en|want_counter=no|main_page_title=Main Page}} {{User:Lar/WikiMatrixHardCodedWiki|bgcolor=0|user=Lar|is_admin=crat |wiki_url=http://commons.wikimedia.org/w/index.php?title=|wiki_name=Commons |lang_name=English|lang_code=en|want_counter=yes|main_page_title=Main_Page}} |}
produces: