User:Lar/WikiMatrixFoundationWiki

From Meta, a Wikimedia project coordination wiki

|- bgcolor="#f9f9f9" | English (en:) WikiPedia (Main Page) | align="center" | User:Jimbo Wales | align="center" | User talk:Jimbo Wales | align="center" | Contribs | align="center" | Logs | align="center" | n/a

Usage[edit]

The 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 (convert spaces to underscores to make URLs work)
is_admin yes to highlight in green, crat to highlight it in orange
wiki_type w: wikipedia v: wikiversity q: wikiquote b:wikibooks s:wikisource n:wikinews m: meta c: commons defaults to wikipedia, must be lower case
want_counter yes to use interiot's tool2 counter (has to be installed there)
lang_name name of language (English, German, Farsi, etc)... not relevant if commons or meta
lang_code 2 letter code for language (en,de,fa, etc) ... not relevant if commons or meta
main_page_title name that the main page is known by (Main page, Haupteseite, etc) ... not relevant if commons or meta

Example[edit]

The 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|is_admin=no |wiki_type=q|lang_name=German|lang_code=de|want_counter=no|main_page_title=Haupteseite}}
{{User:Lar/WikiMatrixFoundationWiki|bgcolor=1|user=Lar|is_admin=crat |wiki_type=c|want_counter=no}}
{{User:Lar/WikiMatrixFoundationWiki|bgcolor=1|user=Lar|is_admin=yes |wiki_type=m|want_counter=no}}
|}

produces:

Host Wiki User Page User Talk Contributions Logs Counts
English (en:) Wikipedia (Main Page) User:Jimbo Wales User talk:Jimbo Wales Contribs Logs Tool2 Page
German (de:) Wikiquote (Haupteseite) User:Jimbo Wales User talk:Jimbo Wales Contribs Logs n/a
Commons (Main Page) User:Jimbo Wales User talk:Jimbo Wales Contribs Logs n/a
Meta (Main Page) User:Jimbo Wales User talk:Jimbo Wales Contribs Logs n/a