Template talk:TournamentInfobox: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Parameters==
==Parameters==
'''Always use the format below.'''
*color: Color scheme. Should be the same as on [[Template:Pokémon World Tournaments]].
*name: Self-explanatory.
*name: Self-explanatory.
*japname: The Japanese name.
*japname: The Japanese name.
Line 7: Line 9:
*desc: Same thing. One sentence.
*desc: Same thing. One sentence.


=Comments==
===Example===
For example, the following code:
 
<pre>{{TournamentInfobox
|color=ground
|textcolor=000
|name=Driftveil Tournament
|japname=ホドモエ トーナメント
|japroman={{tt|Hodomoe|Driftveil}} Tournament
|typedesc=You may use any Pokémon or held items of your choice. For these battles, all Pokémon will be set to Level 25.
|desc=Driftveil Tournament is a tournament where anything goes.}}</pre>
 
Will give:
{{TournamentInfobox
|color=ground
|textcolor=000
|name=Driftveil Tournament
|japname=ホドモエ トーナメント
|japroman={{tt|Hodomoe|Driftveil}} Tournament
|typedesc=You may use any Pokémon or held items of your choice. For these battles, all Pokémon will be set to Level 25.
|desc=Driftveil Tournament is a tournament where anything goes.}}
{{-}}
 
==Comments==
Is there a reason why this is fixed to 250 pixels in width? Most infoboxes around the site are set at 30% screenwidth. The infobox comes out looking very skinny and long on some pages (for example, [[Champions Tournament]]). &mdash;'''<span style="font-family:Verdana"><span style="color:#000">darklord</span>[[User talk:The dark lord trombonator|<span style="color:#0047AB">trom</span>]]</span>''' 22:07, 29 October 2012 (UTC)
Is there a reason why this is fixed to 250 pixels in width? Most infoboxes around the site are set at 30% screenwidth. The infobox comes out looking very skinny and long on some pages (for example, [[Champions Tournament]]). &mdash;'''<span style="font-family:Verdana"><span style="color:#000">darklord</span>[[User talk:The dark lord trombonator|<span style="color:#0047AB">trom</span>]]</span>''' 22:07, 29 October 2012 (UTC)
:Maybe its because I have a widescreen display? This is how it would look:
:Maybe its because I have a widescreen display? This is how it would look:
Line 35: Line 60:


On mine, 30% '''is way too big'''. My screen is 1600 by 900 at 17 inches. You can change it, but on  mine it's way too big. --[[User:Abcboy|Abcboy]] ([[User talk:Abcboy|talk]]) 22:15, 29 October 2012 (UTC)
On mine, 30% '''is way too big'''. My screen is 1600 by 900 at 17 inches. You can change it, but on  mine it's way too big. --[[User:Abcboy|Abcboy]] ([[User talk:Abcboy|talk]]) 22:15, 29 October 2012 (UTC)
:Does anyone else have an opinion? It looks odd to me that this infobox is thinner than the others, but I don't want to go changing it if everyone's happy. &mdash;'''<span style="font-family:Verdana"><span style="color:#000">darklord</span>[[User talk:The dark lord trombonator|<span style="color:#0047AB">trom</span>]]</span>''' 04:47, 7 November 2012 (UTC)
::I would have it be more in line with the widths of other infoboxes.--[[User:MisterE13|<span style="color:#0000FF">Mister</span>]][[User talk:MisterE13|<span style="color:#008000">'''E'''</span>]][[Special:Contributions/MisterE13|<span style="color:#800080">13</span>]] 04:58, 7 November 2012 (UTC)
{{-}}
:::And on this tiny screen I'm on right now, it is way too small. "Championships!" in the description hangs on a new line. However, it still needs to be widened more than 250 pixels. --[[User:Abcboy|Abcboy]] ([[User talk:Abcboy|talk]]) 05:07, 7 November 2012 (UTC)
==Color==
How should the colors behind the headers and other text be changed, because that would require the text to change colors? '''[[User:Lady Ariel|<span style="color:magenta">Lady</span>]] [[User talk:Lady Ariel|<span style="color:orange">Ariel</span>]]''' 04:13, 7 November 2012 (UTC)
:At the moment the colors there remain the same, and I don't want to update every single tournament page anytime soon. If it did, I would make parameters called "headercolor" and "textcolor", and the text would be the hex in "textcolor" while "headercolor" would change the border and the inner. --[[User:Abcboy|Abcboy]] ([[User talk:Abcboy|talk]]) 04:24, 7 November 2012 (UTC)
{| width=250px; style="float:right; {{roundy|10px}} border: 2px solid #{{{{{color|gold}}} color dark}}; background: #{{{{{color|gold}}} color}};"
|
{| style="{{roundy|10px}} background: #{{{{{headercolor|gold}}} color dark}};" width=100%
! colspan="2" style="{{roundy|10px}} background: #{{{{{headercolor|gold}}} color light}};" | {{color|{{{textcolor|fff}}}|<big>{{{name|2012 Junior Division Challenge}}}</big><br><small>{{{japname|ジュニアせかいおうじゃに いどめ!}}}''' ''{{{japroman|Challenge the Junior World Champion!}}}''</small>}}
|}
|-
|
{| width=100% style="{{roundy|10px}} background: #ddd;"
|
{| width=100% style="{{roundy|8px}} background: #fff;"
! width=50% style="text-align:left;" | Battle Rules:
| style="text-align:right;" | {{{type|}}}
|-
| colspan=2 style="text-align:left;" | {{{typedesc|Double Battle. Use four Pokémon.<br>Levels will be set to Lv. 50.<br>No duplicate Pokémon or held items.}}}
|- style="background: #ddd;"
| colspan="2" |
|-
! style="text-align:left;" colspan=2 | Tournament:
|-
| colspan=2 | {{{desc|Battle the Top 4 Finalists from the<br>2012 Pokémon World Championships!}}}
|}
|}
|}
::Added, although I shortened one of the parameter names. "color" now determines the header and background colours, while "textcolor" determines the text colour. <span class="sc">[[User:Werdnae|<span style="color:#2D4B98;">Werdnae</span>]]</span> <small>[[User talk:Werdnae|<span style="color:#009000;">(talk)</span>]]</small> 09:52, 8 November 2012 (UTC)
{{-}}
==Japanese only tournaments==
{| width=250px; style="float:right; {{roundy|10px}} border: 2px solid #{{{{{color|gold}}} color dark}}; background: #{{{{{color|gold}}} color}};"
|
{| style="{{roundy|10px}} background: #{{{{{headercolor|gold}}} color dark}};" width=100%
! colspan="2" style="{{roundy|10px}} background: #{{{{{headercolor|gold}}} color light}};" | {{color|{{{textcolor|fff}}}|<big>{{{japname|ジュニアせかいおうじゃに いどめ!}}}'''</big><br><small>''{{{japroman|Challenge the Junior World Champion!}}}''</small>}}
|}
|-
|
{| width=100% style="{{roundy|10px}} background: #ddd;"
|
{| width=100% style="{{roundy|8px}} background: #fff;"
! width=50% style="text-align:left;" | Battle Rules:
| style="text-align:right;" | {{{type|}}}
|-
| colspan=2 style="text-align:left;" | {{{typedesc|Double Battle. Use four Pokémon.<br>Levels will be set to Lv. 50.<br>No duplicate Pokémon or held items.}}}
|- style="background: #ddd;"
| colspan="2" |
|-
! style="text-align:left;" colspan=2 | Tournament:
|-
| colspan=2 | {{{desc|Battle the Top 4 Finalists from the<br>2012 Pokémon World Championships!}}}
|}
|}
|}
This is for when the tournament does not have a revealed English name. By the way, now would be a good time to increase the width of the template by quite a few pixels. --[[User:Abcboy|Abcboy]] ([[User talk:Abcboy|talk]]) 00:24, 9 November 2012 (UTC)

Latest revision as of 05:04, 9 November 2012

Parameters

Always use the format below.

  • color: Color scheme. Should be the same as on Template:Pokémon World Tournaments.
  • name: Self-explanatory.
  • japname: The Japanese name.
  • japroman: The Japanese translation.
  • type: Single, Double, or Rotation? Only use on Download Tournaments.
  • typedesc: Should be directly from game.
  • desc: Same thing. One sentence.

Example

For example, the following code:

{{TournamentInfobox
|color=ground
|textcolor=000
|name=Driftveil Tournament
|japname=ホドモエ トーナメント
|japroman={{tt|Hodomoe|Driftveil}} Tournament
|typedesc=You may use any Pokémon or held items of your choice. For these battles, all Pokémon will be set to Level 25.
|desc=Driftveil Tournament is a tournament where anything goes.}}

Will give:

Driftveil Tournament
ホドモエ トーナメント Hodomoe Tournament
Battle Rules:
You may use any Pokémon or held items of your choice. For these battles, all Pokémon will be set to Level 25.
Tournament:
Driftveil Tournament is a tournament where anything goes.


Comments

Is there a reason why this is fixed to 250 pixels in width? Most infoboxes around the site are set at 30% screenwidth. The infobox comes out looking very skinny and long on some pages (for example, Champions Tournament). —darklordtrom 22:07, 29 October 2012 (UTC)

Maybe its because I have a widescreen display? This is how it would look:
2012 Junior Division Challenge
ジュニアせかいおうじゃに いどめ! Challenge the Junior World Champion!
Battle Rules:
Double Battle. Use four Pokémon.
Levels will be set to Lv. 50.
No duplicate Pokémon or held items.
Tournament:
Battle the Top 4 Finalists from the
2012 Pokémon World Championships!

On mine, 30% is way too big. My screen is 1600 by 900 at 17 inches. You can change it, but on mine it's way too big. --Abcboy (talk) 22:15, 29 October 2012 (UTC)

Does anyone else have an opinion? It looks odd to me that this infobox is thinner than the others, but I don't want to go changing it if everyone's happy. —darklordtrom 04:47, 7 November 2012 (UTC)
I would have it be more in line with the widths of other infoboxes.--MisterE13 04:58, 7 November 2012 (UTC)


And on this tiny screen I'm on right now, it is way too small. "Championships!" in the description hangs on a new line. However, it still needs to be widened more than 250 pixels. --Abcboy (talk) 05:07, 7 November 2012 (UTC)

Color

How should the colors behind the headers and other text be changed, because that would require the text to change colors? Lady Ariel 04:13, 7 November 2012 (UTC)

At the moment the colors there remain the same, and I don't want to update every single tournament page anytime soon. If it did, I would make parameters called "headercolor" and "textcolor", and the text would be the hex in "textcolor" while "headercolor" would change the border and the inner. --Abcboy (talk) 04:24, 7 November 2012 (UTC)
2012 Junior Division Challenge
ジュニアせかいおうじゃに いどめ! Challenge the Junior World Champion!
Battle Rules:
Double Battle. Use four Pokémon.
Levels will be set to Lv. 50.
No duplicate Pokémon or held items.
Tournament:
Battle the Top 4 Finalists from the
2012 Pokémon World Championships!
Added, although I shortened one of the parameter names. "color" now determines the header and background colours, while "textcolor" determines the text colour. Werdnae (talk) 09:52, 8 November 2012 (UTC)


Japanese only tournaments

ジュニアせかいおうじゃに いどめ!
Challenge the Junior World Champion!
Battle Rules:
Double Battle. Use four Pokémon.
Levels will be set to Lv. 50.
No duplicate Pokémon or held items.
Tournament:
Battle the Top 4 Finalists from the
2012 Pokémon World Championships!

This is for when the tournament does not have a revealed English name. By the way, now would be a good time to increase the width of the template by quite a few pixels. --Abcboy (talk) 00:24, 9 November 2012 (UTC)