Template talk:TournamentInfobox: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
Line 59: Line 59:
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)


{{-}}
==Color==
==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)
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!}}}
|}
|}
|}

Revision as of 04:24, 7 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
|name=Driftveil Tournament
|japname=ホドモエ トーナメント
|japroman={{tt|Hodomoe|Driftveil}} 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 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)


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!