| Site Notice |
|---|
|
Nintendo Wiki has been upgraded! Please let site staff know if you see any errors. We also have a new domain: nintendowiki.net — please update links to use this new domain name. Thank you for editing! |
Template talk:Wiki Infobox
Jump to navigation
Jump to search
Suggestion
Suggestion: change | style="background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}};" | [{{{url}}} URL] to | style="background:#FFFFFF; border-bottom: 1px solid #{{{{{colorscheme|Nintendo}}} 1st color}};" | {{{url}}} . --75.126.149.175 15:38, 12 December 2010 (UTC)
- OK, thank you for the suggestion. But, out of curiosity, why would we want to do that? Tacopill (Talk) 23:13, 12 December 2010 (UTC).
- Because showing "URL | URL", besides for looking rather strange and confusing, doesn't actually display the URL, which kind of misses the point of having an URL section... --75.126.149.175 23:59, 12 December 2010 (UTC)
Make view statistics section only appear if filled out
Can an admin replace this section
{| style="{{roundy|10px}} background:transparent; border-collapse:collapse;margin:0 auto;"
|-
! 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
|-
|}
{| style="{{roundy|10px}} background:transparent; border-collapse:collapse;margin:0 auto;"
|-
! 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
| style="width:175px;{{roundytr|10px}} background:#FFFFFF; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}};" | {{{views_total}}}
|-
! 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 {{Site-Color|{{{colorscheme|nintendo}}}}}" | {{{views_per_edit}}}
|-
|}
with this?
{{#if:{{{views_total|}}}{{{views_per_edit|}}}|
{{{!}} style="{{roundy|10px}} background:transparent; border-collapse:collapse;margin:0 auto;"
{{!-}}
! 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
{{!-}}
{{Tableend}}
{{Tablebegin}} style="{{roundy|10px}} background:transparent; border-collapse:collapse;margin:0 auto;"
{{!-}}
! 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
{{!}} style="width:175px;{{roundytr|10px}} background:#FFFFFF; border-bottom: 1px solid {{Site-Color|{{{colorscheme|nintendo}}}}};" {{!}} {{{views_total}}}
{{!-}}
! 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 {{Site-Color|{{{colorscheme|nintendo}}}}}" {{!}} {{{views_per_edit}}}
{{!-}}
{{tableend}}
|}}
This should make the View Statistics section only appear if filled out since not every wiki has this enabled. PinkYoshiFan (talk) 20:58, 3 December 2023 (UTC)