Template talk:TournamentInfobox: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Lady Ariel moved page User talk:Abcboy/sandbox/TournamentInfobox to Template talk:TournamentInfobox: Given the approval from Werdnae)
 
(13 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.
*japroman: The Japanese translation.
*japroman: The Japanese translation.
*type: Single, Double, or Rotation?
*type: Single, Double, or Rotation? '''Only use on Download Tournaments.'''
*typedesc: Should be directly from game.
*typedesc: Should be directly from game.
*desc: Same thing.
*desc: Same thing. One sentence.


==Testing==
===Example===
===Driftveil===
For example, the following code:
{{User:Abcboy/sandbox/TournamentInfobox|
 
name=Driftveil Tournament |
<pre>{{TournamentInfobox
japname=ホドモエ トーナメント |
|color=ground
japroman={{tt|Hodomoe|Driftveil}} Tournament |
|textcolor=000
type=|
|name=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. |
|japname=ホドモエ トーナメント
desc=Driftveil Tournament is a tournament where anything goes. }}
|japroman={{tt|Hodomoe|Driftveil}} Tournament
{{right clear}}
|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.
===Rental===
|desc=Driftveil Tournament is a tournament where anything goes.}}</pre>
{{User:Abcboy/sandbox/TournamentInfobox|
 
name=Rental Tournament |
Will give:
japname=レンタル トーナメント |
{{TournamentInfobox
japroman=Rental Tournament |
|color=ground
type=|
|textcolor=000
typedesc=You may use any Pokémon or held items of your choice. For these battles, all Pokémon will be set to Level 50. |
|name=Driftveil Tournament
desc=Rental Tournament is a unique tournament where we prepare the Pokémon with which you will battle. }}
|japname=ホドモエ トーナメント
{{right clear}}
|japroman={{tt|Hodomoe|Driftveil}} Tournament
===Mix===
|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.
{{User:Abcboy/sandbox/TournamentInfobox|
|desc=Driftveil Tournament is a tournament where anything goes.}}
name=Mix Tournament |
{{-}}
japname=ミックス トーナメント |
japroman=Mix Tournament |
type=|
typedesc=You may use any Pokémon or held items of your choice. For these battles, all Pokémon will be set to Level 50. |
desc=Mix Tournament is a unique tournament where you and your opponent swap Pokémon before battling. }}
{{right clear}}
===2012 Junior Division Challenge===
{{User:Abcboy/sandbox/TournamentInfobox}}


==Comments==
==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)
:Maybe its because I have a widescreen display? This is how it would look:
{| width=30%; style="float:right; {{roundy|10px}} border: 2px solid #{{black 2 color dark}}; background: #{{black 2 color}};"
|
{| style="{{roundy|10px}} background: #{{grass color dark}};" width=100%
! colspan="2" style="{{roundy|10px}} background: #{{black 2 color light}};" | {{color|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!}}}
|}
|}
|}
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)