Site Notice
  • We have a limited coverage policy. Please check our coverage page to see which articles are allowed.
  • Please no leaked content less than one year old, or videos of leaks.
  • Content copied verbatim from other websites or wikis will be removed.

Difference between revisions of "Template:Wiki Infobox"

From NintendoWiki, your source on Nintendo information. By fans, for fans.
Jump to navigation Jump to search
Line 130: Line 130:
 
{{!}} width=175px style="{{#if: {{{user_group_6_details|}}} |  | {{roundybr}} }} {{#if: {{{user_group_4_details|}}} |  | {{roundytr}} }} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} color}};" {{!}} {{{user_group_5_details}}}  
 
{{!}} width=175px style="{{#if: {{{user_group_6_details|}}} |  | {{roundybr}} }} {{#if: {{{user_group_4_details|}}} |  | {{roundytr}} }} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} color}};" {{!}} {{{user_group_5_details}}}  
 
| }}  
 
| }}  
{{#if: {{{user_group_6_details|}}}  
+
{{Infobox row
|  
+
| details = {{{user_group_6_details|}}}  
{{!-}}
+
| next = {{{user_group_7_details|}}}
! width=175px style="{{#if: {{{user_group_7_details|}}} | | {{roundybl}} }} {{#if: {{{user_group_5_details|}}} |  | {{roundytl}} }} background:#{{{{{colorscheme|nintendo}}} color light}}; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" {{!}}  {{{user_group_6_name}}}
+
| prev = {{{user_group_5_details|}}}
{{!}} width=175px style="{{#if: {{{user_group_7_details|}}} | | {{roundybr}} }} {{#if: {{{user_group_5_details|}}} |  | {{roundytr}} }} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} color}};" {{!}} {{{user_group_6_details}}}
+
| colorscheme = {{{colorscheme|nintendo}}}
| }}
+
| name = {{{user_group_6_name}}}
{{#if: {{{user_group_7_details|}}}
+
}}
|
 
{{!-}}
 
! width=175px style="{{#if: {{{user_group_8_details|}}} |  | {{roundybl}} }} {{#if: {{{user_group_6_details|}}} |  | {{roundytl}} }} background:#{{{{{colorscheme|nintendo}}} color light}}; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" {{!}}  {{{user_group_7_name}}}
 
{{!}} style="{{#if: {{{user_group_8_details|}}} |  | {{roundybr}} }} {{#if: {{{user_group_6_details|}}} |  | {{roundytr}} }} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} color}};" {{!}} {{{user_group_7_details}}}  
 
| }}  
 
 
{{Infobox row
 
{{Infobox row
 
| details = {{{user_group_7_details|}}}  
 
| details = {{{user_group_7_details|}}}  

Revision as of 00:39, 9 October 2010

width=175px style="text-align:center; border-radius: 15px; border:2px single #Template:Nintendo color dark;" | {{{name}}}
width=175px style="text-align:center; background:#ffffff; border-radius: 15px; border:2px single #Template:Nintendo color dark;" | [[File:{{{name}}} logo.png]]
width=175px style="border-top-left-radius: 10px; border-top-right-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Ownership
width=175px align="right" style="border-top-left-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Owner width=175px align="left" style="border-top-right-radius: 10px; background:#FFFFFF; border-bottom: 1px solid #Template:Nintendo color;" | {{{owner}}}
align="right" style="background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | URL style="background:#FFFFFF; border-bottom: 1px solid #Template:Nintendo color;" | [{{{url}}} URL]
align="right" style="border-bottom-left-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Existed there since style="border-bottom-right-radius: 10px; background:#FFFFFF; border-bottom: 1px solid #Template:Nintendo color;" | {{{since}}}
width=175px style="border-top-left-radius: 10px; border-top-right-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Coverage
width=175px align="right" style="border-top-left-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Main area of Focus width=175px align="left" style="border-top-right-radius: 10px; background:#FFFFFF; border-bottom: 1px solid #Template:Nintendo color;" | [[File:{{{main}}} logo.png|link={{{main}}} (series)|100px|series logo]]
align="right" style="border-bottom-left-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Side areas of focus style="border-bottom-right-radius: 10px; background:#FFFFFF; border-bottom: 1px solid #Template:Nintendo color; " | {{{side}}}
width=175px style="border-top-left-radius: 10px; border-top-right-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Page statistics
width=175px align="right" style="border-top-left-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Content Articles width=175px align="left" style="border-top-right-radius: 10px; background:#FFFFFF; border-bottom: 1px solid #Template:Nintendo color;" | {{{content_pages}}}
align="right" style="background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | All Pages style="background:#FFFFFF; border-bottom: 1px solid #Template:Nintendo color;" | {{{all_pages}}}
align="right" style="border-bottom-left-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Uploaded files style="border-bottom-right-radius: 10px; background:#FFFFFF; border-bottom: 1px solid #Template:Nintendo color;" | {{{files}}}
width=175px style="border-top-left-radius: 10px; border-top-right-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Edit statistics
width=175px align="right" style="border-top-left-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Page edits since the {{{name}}} was set up width=175px align="left" style="border-top-right-radius: 10px; background:#FFFFFF; border-bottom: 1px solid #Template:Nintendo color;" | {{{edits_since_beginning}}}
align="right" style="border-bottom-left-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Average edits per page style="border-bottom-right-radius: 10px; background:#FFFFFF; border-bottom: 1px solid #Template:Nintendo color;" | {{{avg_edit_per_page}}}
width=175px style="border-top-left-radius: 10px; border-top-right-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | User statistics
width=175px style="border-top-left-radius: 10px; border-top-right-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | View statistics
width=175px align="right" style="border-top-left-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Page edits since the {{{name}}} was set up width=175px align="left" style="border-top-right-radius: 10px; background:#FFFFFF; border-bottom: 1px solid #Template:Nintendo color;" | {{{views_total}}}
align="right" style="border-bottom-left-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Average edits per page style="border-bottom-right-radius: 10px; background:#FFFFFF; border-bottom: 1px solid #Template:Nintendo color; " | {{{views_per_edit}}}
width=175px style="border-top-left-radius: 10px; border-top-right-radius: 10px; background:#Template:Nintendo color light; border-bottom: 1px solid #Template:Nintendo color; color:#000000;" | Groups

== Purpose ==

To give a information box for to be used on Wiki Related pages.

Usage

Example

{{Wiki Infobox
| name = 
| colorscheme = 
| owner = 
| financier = 
| leader =
| url = 
| since = 
| main = 
| side = 
| content_pages = 
| all_pages = 
| files = 
| edits_since_beginning = 
| avg_edit_per_page =
| user_group_1_name = 
| user_group_1_details = 
| user_group_2_name = 
| user_group_2_details = 
| user_group_3_name = 
| user_group_3_details = 
| views_total = 
| views_per_edit = 
| group_1_title = 
| group_1_info = 
| group_2_title = 
| group_2_info = 
| group_3_title = 
| group_3_info = 
| no_groups = 
}}


Parameters

General Infomation

  • name - Name of the Wiki. It also adds the file name of wiki logo.png to the template.
    • size - If no size is given to name of wiki logo.png, it is set at 175 px.
  • colorscheme - Related Color Scheme

Ownership

  • owner - Name, and if avalible, NWiki profile, of Owner
  • leader - Who is the head editor, the editor-in-chief, etc.
  • financier - Who pays the server bills?
  • url - domain (and subdomains, directories, etc) URL of the site. Please do not include any page titles, url parameters, etc.
  • since - when was the wiki first available

Coverage

  • main - What is the Wiki's series of focus?
  • side - What other series does the wiki cover.


Page statistics

  • content_pages -
  • all_pages -
  • files -

Edit statistics

  • edits_since_beginning -
  • avg_edit_per_page -

User statistics Each wiki can have more than one group of user. Each available row (n) has two related parameters, one for each cell:

  • user_group_n_name - name of the group
  • user_group_n_details - # of users in the group
  • no_users - to remove the user table entirely

View statistics

  • views_total -
  • views_per_edit -


Groups Details on groups the wiki belongs to, has room up to 9 rows, represented by n.

  • group_n_title - title of the group n
  • group_n_info - details of membership in group n
  • no_groups - to remove the group table entriely

Also note: it is useful to throw on the following template {{tt}} *.