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.

Template talk:Wiki Infobox

From NintendoWiki, your source on Nintendo information. By fans, for fans.
Revision as of 20:58, 3 December 2023 by PinkYoshiFan (talk | contribs) (Suggesting change since page is protected)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)
Ah, OK. That makes sense. I will edit it now. Tacopill (Talk) 02:54, 14 December 2010 (UTC).
Changed, what do you think of it now? 03:01, 14 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)