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 talk:Wiki Infobox"

From NintendoWiki, your source on Nintendo information. By fans, for fans.
Jump to navigation Jump to search
(Suggesting change since page is protected)
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
:OK, thank you for the suggestion. But, out of curiosity, why would we want to do that? {{User:Tacopill/sig}} 23:13, 12 December 2010 (UTC).
 
:OK, thank you for the suggestion. But, out of curiosity, why would we want to do that? {{User:Tacopill/sig}} 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... --[[Special:Contributions/75.126.149.175|75.126.149.175]] 23:59, 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... --[[Special:Contributions/75.126.149.175|75.126.149.175]] 23:59, 12 December 2010 (UTC)
 +
:::Ah, OK. That makes sense. I will edit it now. {{User:Tacopill/sig}} 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
 +
<pre class="mw-collapsible mw-collapsed">
 +
{| 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}}}
 +
|-
 +
|}
 +
</pre>
 +
with this?
 +
<pre class="mw-collapsible mw-collapsed">
 +
{{#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}}
 +
|}}
 +
</pre>
 +
This should make the View Statistics section only appear if filled out since not every wiki has this enabled. [[User:PinkYoshiFan|PinkYoshiFan]] ([[User talk:PinkYoshiFan|talk]]) 20:58, 3 December 2023 (UTC)

Latest revision as of 20:58, 3 December 2023

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)