You need to be logged into the wiki to be able to edit! To login or join the wiki, click here.

Difference between revisions of "Template:Infobox user/doc"

From Kiwiki
Jump to: navigation, search
(Created page with "<!-- Automatically add {{template sandbox notice}} when on a /sandbox page. -->{{#ifeq: {{SUBPAGENAME}} | sandbox | <div style="clear: both;"></div>{{template sandbox notice|{{...")
 
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--
+
The infobox template is a staple among wikis, creating a sidebar to the left side containing information in a brief form. Below is the parameters of the infobox for users.
  Automatically add {{template sandbox notice}} when on a /sandbox page.
 
-->{{#ifeq: {{SUBPAGENAME}} | sandbox
 
| <div style="clear: both;"></div>{{template sandbox notice|{{{livepage|}}}}}
 
}}<!--
 
  Automatically add {{pp-template}} to protected templates.
 
-->{{template other
 
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
 
  | {{pp-template|docusage=yes}}
 
  | {{#if: {{PROTECTIONLEVEL:edit}}
 
    | {{pp-template|docusage=yes}}
 
    | <!--Not protected, or only semi-move-protected-->
 
    }}
 
  }}
 
}}<!--
 
  Start of green doc box.
 
-->{{documentation/start box2
 
| preload = {{{preload|}}}  <!--Allow custom preloads-->
 
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
 
| heading-style = {{{heading-style|}}}
 
| content = {{{content|}}}
 
  
<!--Some namespaces must have the /doc, /sandbox and /testcases
+
{{Infobox user
    in talk space-->
+
| image                    = Leech.png
| docspace = {{documentation/docspace}}
+
| caption                  = Leech standing in front of the Khulu Desert Spawn in the Beta
 +
| Username                  = Flying_Leech
 +
| Join date                = December, 2010
 +
| Mod                      = Wiki Mod
 +
| Mod_Date                  = March 2nd, 2012
 +
| User notable achievement1 = Created infoboxes for Kiwiki (like this one!)
 +
| User notable achievement2 = Had a popular shop in 2.0
 +
| RP name                  = Flying Aloysius Leech
 +
| Age                      = 97
 +
| Homeland                  = Altarnius
 +
| Ch notable achievement1  = Was part of the first spaceship to crash on Kiwike
 +
}}
 +
===Parameters===
 +
<pre style="overflow: auto">
 +
{{Infobox user
 +
| image                    = <!-- Do not include brackets or 'File:'--!>
 +
| caption                  =
 +
| Username                  =
 +
| Join date                =
 +
| Disappeared              = <!--Put they date they left, if they left mysteriously--!>
 +
| Banned reason            = <!--If Permabanned, why?--!>
 +
| Banned date              = <!--Date of Permaban--!>
 +
| Left                      = <!--If they left with warning, put the date here --!>
 +
| Town                      =
 +
| Nation                    =
 +
| Donated                  = <!--What level of donor are they?---!>
 +
| Mod                      = <!--Are they a mod--!>
 +
| User notable achievement1 = <!--What did the player do that was notable?--!>
 +
| User notable achievement2 = <!--A second achievement field--!>
 +
| User notable achievement3 =
 +
| Mod_Date                  = <!--When did they become mod(If they are one)?--->
 +
<!--This is where it switches the RP Info--!>
 +
| RP Name                  =
 +
| Age                      = <!-- How old is your RP character?--!>
 +
| Homeland                  = <!--Where di your character come from?--!>
 +
| Ch notable achievement1  = <!--Same as before, but for RP--!>
 +
| Ch notable achievement2  =
 +
| Ch notable achievement3  =
 +
}}
 +
</pre>
  
| 1 = {{{1|}}}  <!--Other docname, if fed-->
+
===Removing fields===
 
+
Are some of the fields not applicable? well, one nice thing about Infoboxes is that you can remove any field you want, and it will still work.
<!--The namespace is added in /start box2-->
+
<br>
| template page = {{documentation/template page}}
+
<br>
 
+
<br>
}}<!-- Start content --><!--
+
<br>
  Start load the /doc content:
 
  Note: The line breaks between this comment and the next line are necessary
 
  so  "=== Headings ===" at the start and end of docs are interpreted.
 
-->
 
{{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{documentation/docspace}}:{{documentation/template page}}/doc|1|0}}
 
| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110
 
| 1111 = {{{content|}}}
 
| 0110 | 0111 = {{ {{{1}}} }}
 
| 0001 | 0011 = {{ {{documentation/docspace}}:{{documentation/template page}}/doc }}
 
| 0000 | 0100 | 0010 | 0101 =
 
}}
 
<!--
 
  End load the /doc content:
 
  Note: The line breaks between this comment and the previous line are necessary
 
  so  "=== Headings ===" at the start and end of docs are interpreted.
 
-->{{documentation/end box2
 
| preload = {{{preload|}}}  <!--Allow custom preloads-->
 
| content = {{{content|}}}
 
| link box = {{{link box|}}}  <!--So "link box=off" works-->
 
 
 
<!--Some namespaces must have the /doc, /sandbox and /testcases
 
    in talk space-->
 
| docspace = {{documentation/docspace}}
 
 
 
| 1 = {{{1|}}}  <!--Other docname, if fed-->
 
 
 
<!--The namespace is added in /end box2-->
 
| template page = {{documentation/template page}}
 
 
 
}}<!--
 
  End of green doc box
 
-->
 

Latest revision as of 15:45, 23 April 2012

The infobox template is a staple among wikis, creating a sidebar to the left side containing information in a brief form. Below is the parameters of the infobox for users.


}}{{#if:|}}

}}{{#ifeq:{{{embed}}}|yes|{{#if:|{{{title}}}}}}}{{#if:|{{#if:

{{#if: }} }} }}{{#if:|{{#if: {{#if: }} }} }}{{#if:{{#if:Leech.png|}}|{{#if: {{#if: }} }} }}{{#if:|{{#if: {{#if: }} }} }}{{#if:{{#if:Leech.png|User info}} {{#if: }} }}{{#if: {{#if:Username }} }}{{#if: {{#if:Join Date }} }}{{#if: {{#if:Disappeared }} }}{{#if: {{#if:Perma-Banned }} }}{{#if: {{#if:Left }} }}{{#if: {{#if:Town }} }}{{#if: {{#if:Nation }} }}{{#if: {{#if:Donated }} }}{{#if: {{#if:Mod }} }}{{#if: {{#if:Player known for }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if:RP Info {{#if: }} }}{{#if: {{#if:RP Name }} }}{{#if: {{#if:Age }} }}{{#if: {{#if:Land of origin }} }}{{#if: {{#if:Character known for }} }}{{#if: {{#if:Occupation }} }}{{#if: {{#if:Years active }} }}{{#if: {{#if:Employer }} }}{{#if: {{#if:Organization }} }}{{#if: {{#if:Agent }} }}{{#if: {{#if:Known for }} }}{{#if: }} }}{{#if: {{#if:Style }} }}{{#if: {{#if: }} }}{{#if: {{#if:Influenced }} }}{{#if: {{#if:Home town }} }}{{#if: {{#if:Salary }} }}{{#if: {{#if:Net worth }} }}{{#if: {{#if:Height }} }}{{#if: {{#if:Weight }} }}{{#if: {{#if:Television }} }}{{#if: {{#if:Title }} }}{{#if: {{#if:Term }} }}{{#if: {{#if:Predecessor }} }}{{#if: {{#if:Successor }} }}{{#if: {{#if:Political party }} }}{{#if: {{#if:Political movement }} }}{{#if: {{#if:Opponent(s) }} }}{{#if: {{#if:Board member of }} }}{{#if: {{#if:Religion }} }}{{#if: {{#if:Denomination }} }}{{#if: {{#if:Criminal charge }} }}{{#if: {{#if:Criminal penalty }} }}{{#if: {{#if:Criminal status }} }}{{#if: {{#if:Spouse }} }}{{#if: {{#if:Partner }} }}{{#if: {{#if:Children }} }}{{#if: {{#if:Parents }} }}{{#if: {{#if:Relatives }} }}{{#if: {{#if:Family }} }}{{#if: {{#if:Call-sign }} }}{{#if: {{#if:Awards }} }}{{#if: {{#if:Signature }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if:{{#if:|Website}} {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if:{{#if:|Notes
{{{footnotes}}}
}}|}}{{#if:|}} {{#ifeq:{{{embed}}}|yes||
Flying_Leech
yes
{{{title}}}
{{{above}}}
{{{header}}}
{{#if:
{{{label}}}
 }}
{{{header}}}
{{#if:{{{subheader2}}}
{{{label}}}
 }}
{{{subheader2}}}
}}{{#if:Leech standing in front of the Khulu Desert Spawn in the Beta|
Leech standing in front of the Khulu Desert Spawn in the Beta}}
{{{label}}}

{{{caption2}}}}}
{{{label}}}
User info}}
{{#if:
 }}
{{#if:Flying_Leech
Username
 }}
Flying_Leech
{{#if:December, 2010
Join Date
 }}
December, 2010
{{#if:
Disappeared
 }}
{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}
Perma-Banned
 }}
{{safesubst:#if:|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}
{{#if:
Left
 }}
{{#if:
Town
 }}
{{#if:
Nation
 }}
{{#if:
Donated
 }}
{{safesubst:#if:March 2nd, 2012|
}}}}March 2nd, 2012{{safesubst:#if:March 2nd, 2012|{{safesubst:#if:|
}}}}
Mod
 }}
Wiki Mod{{safesubst:#if:Wiki Mod|{{safesubst:#if:March 2nd, 2012|
}}}}March 2nd, 2012{{safesubst:#if:March 2nd, 2012|{{safesubst:#if:|
}}}}
{{safesubst:#if:Had a popular shop in 2.0|
}}}}Had a popular shop in 2.0{{safesubst:#if:Had a popular shop in 2.0|{{safesubst:#if:|
}}}}
Player known for
 }}
Created infoboxes for Kiwiki (like this one!){{safesubst:#if:Created infoboxes for Kiwiki (like this one!)|{{safesubst:#if:Had a popular shop in 2.0|
}}}}Had a popular shop in 2.0{{safesubst:#if:Had a popular shop in 2.0|{{safesubst:#if:|
}}}}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
RP Info
{{#if:
 }}
{{#if:Flying Aloysius Leech
RP Name
 }}
Flying Aloysius Leech
{{#if:97
Age
 }}
97
{{#if:Altarnius
Land of origin
 }}
Altarnius
{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}
Character known for
 }}
Was part of the first spaceship to crash on Kiwike{{safesubst:#if:Was part of the first spaceship to crash on Kiwike|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}
{{#if:
Occupation
 }}
{{#if:
Years active
 }}
{{#if:
Employer
 }}
{{#if:
Organization
 }}
{{#if:
Agent
 }}
{{#if:
Known for
 }}
{{{credits}}}|}} Notable credit(s)|Notable work(s)}} Notable credit(s)|Notable work(s)}}
 }}
{{#if:|{{{credits}}}|}}
{{#if:
Style
 }}
{{#if:
 }}
{{#if:
Influenced
 }}
{{#if:
Home town
 }}
{{#if:
Salary
 }}
{{#if:
Net worth
 }}
{{#if:
Height
 }}
{{#if:
Weight
 }}
{{#if:
Television
 }}
{{#if:
Title
 }}
{{#if:
Term
 }}
{{#if:
Predecessor
 }}
{{#if:
Successor
 }}
{{#if:
Political party
 }}
{{#if:
Political movement
 }}
{{#if:
Opponent(s)
 }}
{{#if:
Board member of
 }}
{{#if:
Religion
 }}
{{#if:
Denomination
 }}
{{#if:
Criminal charge
 }}
{{#if:
Criminal penalty
 }}
{{#if:
Criminal status
 }}
{{#if:
Spouse
 }}
{{#if:
Partner
 }}
{{#if:
Children
 }}
{{#if:
Parents
 }}
{{#if:
Relatives
 }}
{{#if:
Family
 }}
{{#if:
Call-sign
 }}
{{#if:
Awards
 }}
[[File:{{{signature}}}|{{safesubst:#if: {{safesubst:#iferror:{{safesubst:#expr:>0}} px}} {{safesubst:#if:150px 150px{{safesubst:#iferror:{{safesubst:#expr:150px>0}} px}} {{safesubst:#iferror:{{safesubst:#expr:>0}} px}}
}}

}}|alt=]]}}

Signature
 }}

{{#if:|[[File:{{{signature}}}|{{safesubst:#if:

{{safesubst:#iferror:{{safesubst:#expr:>0}} px}} {{safesubst:#if:150px 150px{{safesubst:#iferror:{{safesubst:#expr:150px>0}} px}} {{safesubst:#iferror:{{safesubst:#expr:>0}} px}}
}}
}}|alt=]]}}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
Website}}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:|Notes
{{{footnotes}}}
}}
Template:Navbar
}}{{#switch:¬ no = force|yes = Template:Italic title

}}{{#ifeq:|yes||{{#if:Flying_LeechDecember, 2010{{safesubst:#if:|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}Wiki Mod{{safesubst:#if:Wiki Mod|{{safesubst:#if:March 2nd, 2012|
}}}}March 2nd, 2012{{safesubst:#if:March 2nd, 2012|{{safesubst:#if:|
}}}}Created infoboxes for Kiwiki (like this one!){{safesubst:#if:Created infoboxes for Kiwiki (like this one!)|{{safesubst:#if:Had a popular shop in 2.0|
}}}}Had a popular shop in 2.0{{safesubst:#if:Had a popular shop in 2.0|{{safesubst:#if:|
}}}}Flying Aloysius Leech97AltarniusWas part of the first spaceship to crash on Kiwike{{safesubst:#if:Was part of the first spaceship to crash on Kiwike|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}{{#if:|{{{credits}}}|}}{{#if:|[[File:{{{signature}}}|{{safesubst:#if:

{{safesubst:#iferror:{{safesubst:#expr:>0}} px}} {{safesubst:#if:150px 150px{{safesubst:#iferror:{{safesubst:#expr:150px>0}} px}} {{safesubst:#iferror:{{safesubst:#expr:>0}} px}}
}}

}}|alt=]]}}||{{#switch:

 {{#if: 
{{{demospace}}} {{#if:
       {{#ifeq:|
talk
       }}
       {{#ifeq:template|template talk
talk template
       }}
     }}
   }}
main = talk = user = wikipedia = file image = mediawiki = template = help = category = portal = book = other #default =

}}}}}}{{#switch:Leech.png

Replace this image male.svg Replace_this_image_male.svg Replace this image female.svg Replace_this_image_female.svg=

}}{{#ifeq:Template||{{#if:|{{#ifeq:Template||}}}}{{#if:|}}{{#if:|{{#if:|}}}}}}{{#if:|}}{{#switch:

 {{#if: 
{{{demospace}}} main other
   }} 
 }}
}} other #default =

}}

Parameters

{{Infobox user
 | image                     = <!-- Do not include brackets or 'File:'--!>
 | caption                   = 
 | Username                  =
 | Join date                 = 
 | Disappeared               = <!--Put they date they left, if they left mysteriously--!>
 | Banned reason             = <!--If Permabanned, why?--!>
 | Banned date               = <!--Date of Permaban--!>
 | Left                      = <!--If they left with warning, put the date here --!>
 | Town                      = 
 | Nation                    = 
 | Donated                   = <!--What level of donor are they?---!>
 | Mod                       = <!--Are they a mod--!>
 | User notable achievement1 = <!--What did the player do that was notable?--!>
 | User notable achievement2 = <!--A second achievement field--!>
 | User notable achievement3 =
 | Mod_Date                  = <!--When did they become mod(If they are one)?--->
<!--This is where it switches the RP Info--!>
 | RP Name                   = 
 | Age                       = <!-- How old is your RP character?--!>
 | Homeland                  = <!--Where di your character come from?--!>
 | Ch notable achievement1   = <!--Same as before, but for RP--!>
 | Ch notable achievement2   =
 | Ch notable achievement3   =
 }}

Removing fields

Are some of the fields not applicable? well, one nice thing about Infoboxes is that you can remove any field you want, and it will still work.