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
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| cellpadding="3" cellspacing="3" style="background:#{{{{{colorscheme|Nintendo}}} 1st color}}; {{roundy|15px}} border:2px single #{{{{{colorscheme|Nintendo}}} 3rd color}}; margin-left: 30px; margin-bottom: 10px;padding:10px;" width = 350px align=right
+
{| cellpadding="3" cellspacing="3" style="background:{{Site-Color|{{{colorscheme|nintendo}}}}}; {{roundy|15px}} border:2px solid {{Site-Color|{{{colorscheme|nintendo}}}|3}}; margin-left: 20px; margin-bottom: 10px;float:right" width = 350px  
 
|-
 
|-
| width=175px  style="text-align:center; {{roundy|15px}} border:2px single #{{{{{colorscheme|Nintendo}}} 3rd color}}; color:#{{{{{colorscheme|Nintendo}}} text color}};" | <big>'''{{{title|{{{name}}}}}}'''</big>
+
| style="width:175px;text-align:center; {{roundy|15px}} border:2px single {{Site-Color|{{{colorscheme|nintendo}}}|3}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}}" | <big>'''{{{title|{{{name}}}}}}'''</big>
|-
 
| width=175px  style="text-align:center;  background:#ffffff; {{roundy|15px}} border:2px single #{{{{{colorscheme|Nintendo}}} 3rd color}};"  | [[File:{{{name}}} logo.png|{{{size|175px}}}]]
 
|-
 
|
 
 
 
{| align="center"  style="{{roundy|10px}} background:transparent; border-collapse:collapse;"
 
|-
 
! width=175px  style="{{roundytop|10px}} background:#{{{{{colorscheme|Nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Ownership
 
 
|-
 
|-
 +
|
 +
{| style="width:95%;{{roundy|15px}} background:#FFFFFF; color:#000000;;margin:0 auto;"
 +
| style="margin:0 auto;text-align:center;" | {{#if: {{{logo-alt|}}} | [[File:{{{logo-alt|}}}|{{{size|150px}}}]] | [[File:{{{name}}} logo.png|{{{size|150px}}}]]}}
 
|}
 
|}
 
{| align="center"  style="{{roundy|10px}} background:transparent; border-collapse:collapse;"
 
 
|-
 
|-
!  width=175px align="right" style="{{roundytl|10px}} background:#{{{{{colorscheme|nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Owner
+
{{Infobox table
| width=175px align="left" style="{{roundytr|10px}} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}};" | {{{owner}}}
+
| title = Ownership
|-
+
| title_width = 175px
!  width=175px align="right" style="background:#{{{{{colorscheme|nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | URL
+
| left_width = 175px
| width=175px style="background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}};" | {{{url}}}
+
| table_width = 350px
|-
+
| colorscheme = {{{colorscheme|Nintendo}}}
!  align="right" style="{{roundybl}} background:#{{{{{colorscheme|nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Existed there since
+
| textlight = {{{textlight}}}
| style="{{roundybr}} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}};" |  {{{since}}}
+
| name1 =  Owner
|-
+
| details1 = {{{owner|}}}  
|}
+
| name2 = Financier
 
+
| details2 = {{{financier|}}}  
 +
| name3 = Leader
 +
| details3 = {{{leader|}}}  
 +
| name4 = URL
 +
| details4 = {{{url|}}}  
 +
| name5 = Founded
 +
| details5 = {{{since|}}}  
 +
}}
 
|-
 
|-
 
|
 
|
 
+
{| style="{{roundy|10px}} background:transparent; border-collapse:collapse;margin:0 auto;"
{| align="center"  style="{{roundy|10px}} background:transparent; border-collapse:collapse;"
 
 
|-
 
|-
! width=175px style="{{roundytop|10px}} background:#{{{{{colorscheme|Nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Coverage
+
! style="width:175px;{{roundytop|10px}} background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Coverage
 
|-
 
|-
 
|}
 
|}
  
{| align="center" style="{{roundy|10px}} background:transparent; border-collapse:collapse;"
+
{| style="{{roundy|10px}} background:transparent; border-collapse:collapse;margin:0 auto;"
 
|-
 
|-
width=175px align="right" style="{{roundytl|10px}} background:#{{{{{colorscheme|nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Main area of focus
+
!  style="width:175px;{{roundytl|10px}} background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};text-align:right;" | Main area of focus
width=175px  align="left" style="{{roundytr|10px}} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}};" | [[File:{{{main}}} logo.png|link={{{main}}} (series)|100px|series logo]] {{{main_add_text|}}}
+
|  style="width:175px;{{roundytr|10px}} background:#FFFFFF; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}" | {{#if: {{{main|}}} | [[File:{{{main}}} logo.png|link={{{main}}} {{#if: {{{game|}}} | |series}}|100px]] {{{main_add_text|}}} | no specific area}}
 
|-
 
|-
! align="right" style="{{roundybl}} background:#{{{{{colorscheme|nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Side areas of focus
+
! style="{{roundybl}} background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};text-align:right;" | Side areas of focus
| style="{{roundybr}} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}}; " |
+
| style="{{roundybr}} background:#FFFFFF; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}" |
 
{{{side}}}
 
{{{side}}}
 
|-
 
|-
 
|}
 
|}
 
 
|-
 
|-
 
|
 
|
 
+
{| style="{{roundy|10px}} background:transparent; border-collapse:collapse;margin:0 auto;"
{| align="center" style="{{roundy|10px}} background:transparent; border-collapse:collapse;"
 
 
|-
 
|-
! width=175px style="{{roundytop|10px}} background:#{{{{{colorscheme|Nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Page statistics
+
! style="width:175px;{{roundytop|10px}} background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Page statistics
 
|-
 
|-
 
|}
 
|}
  
{| align="center" style="{{roundy|10px}} background:transparent; border-collapse:collapse;"
+
{| style="{{roundy|10px}} background:transparent; border-collapse:collapse;margin:0 auto;"
 
|-
 
|-
width=175px align="right" style="{{roundytl|10px}} background:#{{{{{colorscheme|nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Content articles
+
!  style="width:175px;{{roundytl|10px}} background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};text-align:right;" | Content articles
<!-- ! width="1px" align="right" style="background:#{{{{{colorscheme|Nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|nintendo}}} 1st color}};" | -->
+
<!-- ! style="width:175px;background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}};text-align:right;" | -->
| width=175px align="left" style="{{roundytr|10px}} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}};" | {{{content_pages}}}
+
| style="width:175px;{{roundytr|10px}} background:#FFFFFF; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}};" | {{{content_pages}}}
 
|-
 
|-
! align="right" style="background:#{{{{{colorscheme|nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | All pages <!-- Page statistics -->
+
! style="background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};text-align:right;" | All pages <!-- Page statistics -->
<!--! width="1px" align="right" style="background:#{{{{{colorscheme|Nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|nintendo}}} 1st color}};" | -->
+
<!--! style="width:175px;background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}};text-align:right;" | -->
| style="background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}};" | {{{all_pages}}}
+
| style="background:#FFFFFF; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}};" | {{{all_pages}}}
 
|-
 
|-
align="right" style="{{roundybl}} background:#{{{{{colorscheme|nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Uploaded files <!-- Page statistics -->
+
!  style="{{roundybl}} background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};text-align:right;" | Uploaded files <!-- Page statistics -->
<!--! width="1px" align="right" style="background:#{{{{{colorscheme|Nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|nintendo}}} 1st color}};" | -->
+
<!--! style="width:175px;background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}};text-align:right;" | -->
| style="{{roundybr}} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}};" |  {{{files}}}
+
| style="{{roundybr}} background:#FFFFFF; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}};" |  {{{files}}}
 
|-
 
|-
 
|}
 
|}
 
 
|-
 
|-
 
|
 
|
 
+
{| style="{{roundy|10px}} background:transparent; border-collapse:collapse;margin:0 auto;"
{| align="center"  style="{{roundy|10px}} background:transparent; border-collapse:collapse;"
 
 
|-
 
|-
! width=175px style="{{roundytop|10px}} background:#{{{{{colorscheme|Nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Edit statistics
+
! style="width:175px;{{roundytop|10px}} background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Edit statistics
 
|-
 
|-
 
|}
 
|}
  
{| align="center" style="{{roundy|10px}} background:transparent; border-collapse:collapse;"
+
{| style="{{roundy|10px}} background:transparent; border-collapse:collapse;"
 
|-
 
|-
width=175px align="right" style="{{roundytl|10px}} background:#{{{{{colorscheme|nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Page edits since {{{name}}} was set up
+
!  style="width:175px;{{roundytl|10px}} background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};text-align:right;" | Page edits since set up
width=175px  align="left" style="{{roundytr|10px}} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}};" |  {{{edits_since_beginning}}}
+
|  style="width:175px;{{roundytr|10px}} background:#FFFFFF; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}};" |  {{{edits_since_beginning}}}
 
|-
 
|-
! align="right" style="{{roundybl}} background:#{{{{{colorscheme|nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Average edits per page <!-- Edit statistics -->
+
! style="{{roundybl}} background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};text-align:right;" | Average edits per page <!-- Edit statistics -->
| style="{{roundybr}} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}};" |  {{{avg_edit_per_page}}}
+
| style="{{roundybr}} background:#FFFFFF; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}" |  {{{avg_edit_per_page}}}
 
|-
 
|-
 
|}
 
|}
Line 131: Line 126:
 
|-
 
|-
 
|  
 
|  
 
+
{| style="{{roundy|10px}} background:transparent; border-collapse:collapse;margin:0 auto;"
{| align="center"  style="{{roundy|10px}} background:transparent; border-collapse:collapse;"
 
 
|-
 
|-
! width=175px style="{{roundytop|10px}} background:#{{{{{colorscheme|Nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | View statistics
+
! style="width:175px;{{roundytop|10px}} background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | View statistics
 
|-
 
|-
 
|}
 
|}
  
{| align="center" style="{{roundy|10px}} background:transparent; border-collapse:collapse;"
+
{| style="{{roundy|10px}} background:transparent; border-collapse:collapse;margin:0 auto;"
 
|-
 
|-
width=175px align="right" style="{{roundytl|10px}} background:#{{{{{colorscheme|nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Page views since the {{{name}}} was set up
+
!  style="width:175px;{{roundytl|10px}} background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};text-align:right;" | Page views since the {{{name}}} was set up
width=175px  align="left" style="{{roundytr|10px}} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}};" |  {{{views_total}}}
+
|  style="width:175px;{{roundytr|10px}} background:#FFFFFF; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}};" |  {{{views_total}}}
 
|-
 
|-
! align="right" style="{{roundybl}} background:#{{{{{colorscheme|nintendo}}} 2nd color}}; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};" | Average views per edit <!-- View statistics -->
+
! style="{{roundybl}} background:{{Site-Color|{{{colorscheme|nintendo}}}|2}}; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}; color:#{{#ifeq: {{{textlight|no}}}|yes|FFFFFF|000000}};text-align:right;" | Average views per edit <!-- View statistics -->
| style="{{roundybr}} background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}}; " |  {{{views_per_edit}}}
+
| style="{{roundybr}} background:#FFFFFF; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}}" |  {{{views_per_edit}}}
 
|-
 
|-
 
|}
 
|}
Line 188: Line 182:
 
}}
 
}}
 
|-
 
|-
|}<includeonly>[[Category:{{{name}}}]]</includeonly><noinclude>{{doc}}{{auto-cat2|Infobox templates|Wiki templates}}</noinclude>
+
|}<includeonly>[[Category:{{{name}}}]]</includeonly><noinclude>
 +
{{doc}}
 +
{{auto-cat2|Infobox templates|Wiki templates}}</noinclude>

Latest revision as of 18:26, 12 August 2023

{{{name}}}
[[File:{{{name}}} logo.png|150px]]
Ownership
Coverage
Main area of focus no specific area
Side areas of focus

{{{side}}}

Page statistics
Content articles {{{content_pages}}}
All pages {{{all_pages}}}
Uploaded files {{{files}}}
Edit statistics
Page edits since set up {{{edits_since_beginning}}}
Average edits per page {{{avg_edit_per_page}}}
User statistics
View statistics
Page views since the {{{name}}} was set up {{{views_total}}}
Average views per edit {{{views_per_edit}}}
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}} *.