Author Topic: The Wiki Help Desk V2: Our Hero, Tacopill  (Read 29416 times)

Offline Member#36

  • Striving For A Perfect NIWA Unit
  • Retired Staff
  • *
  • Posts: 681
  • Gender: Male
  • Kirby, My Favorite Flavor
    • View Profile
The Wiki Help Desk V2: Our Hero, Tacopill
« on: June 11, 2010, 07:32:49 PM »
Do you want to understand patrolling?  ...Does HTML coding bring you down?  This thread is here to answer the questions you couldn't answer with your wiki's help pages.  However, please remember to look at your wiki's help pages because they are likely to answer a lot of the questions you may come up with.

All posts should folllow the rules, and try to be detailed as possible with the subject matter you wish to find answers on.  Also, all questions should be wiki-related, as all non-wiki related questions will be deleted on sight.

With that, ask away!
« Last Edit: September 17, 2010, 08:31:58 PM by Member #36 »

Offline Lazor Shroom Midna Freak

  • Jr. Member
  • **
  • Posts: 60
  • Gender: Female
  • Jesus Freak/Pie Shroom/Midna of Darkness
    • View Profile
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #1 on: August 30, 2010, 06:21:08 PM »
Quote from: ????  link=topic=245.msg4610#msg4610 date=1276284769
as all non-wiki related questions will be deleted on sight.
It's sight. S-I-G-H-T.
« Last Edit: August 30, 2010, 06:35:39 PM by ???? »

Offline Member#36

  • Striving For A Perfect NIWA Unit
  • Retired Staff
  • *
  • Posts: 681
  • Gender: Male
  • Kirby, My Favorite Flavor
    • View Profile
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #2 on: August 30, 2010, 06:34:49 PM »
as all non-wiki related questions will be deleted on sight.
It's sight. S-I-G-H-T.

What?  ...You MUST be seeing things....

Offline tacopill

  • Lylat Wiki Staff
  • ***
  • Posts: 3128
    • View Profile
    • csanimefan







Offline Member#36

  • Striving For A Perfect NIWA Unit
  • Retired Staff
  • *
  • Posts: 681
  • Gender: Male
  • Kirby, My Favorite Flavor
    • View Profile
Re: The Wiki Help Desk V2: Our Hero, Tacopill
« Reply #4 on: August 30, 2010, 09:26:48 PM »
;)

http://www.niwanetwork.org/forums/index.php?topic=346.0

I saw that, but didn't want to merge it due to the WR board construction.
« Last Edit: September 15, 2010, 08:28:47 PM by Member #36 »

Offline tacopill

  • Lylat Wiki Staff
  • ***
  • Posts: 3128
    • View Profile
    • csanimefan
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #5 on: August 30, 2010, 09:27:31 PM »
;)

http://www.niwanetwork.org/forums/index.php?topic=346.0

I saw that, but didn't want to merge it due to the WR board construction.

Which is why i posted it as a link instead of asking for a Merger.







Offline Seritinajii

  • Paradichlorobenzene
  • Fire Emblem Wiki Staff
  • ***
  • Posts: 197
  • Gender: Male
  • Grammar is important!!
    • View Profile
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #6 on: September 10, 2010, 11:54:35 PM »
I'm working on the Fire Emblem Wiki. I checked MediaWiki Help: Tables and made this template:
Template:CharacterStats.
The code is pretty long, but not that complicated:
Code: [Select]
{|style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000"
!width=100; style="border-style: solid; border-width: 0 1px 1px 0"| Class
!width=50; style="border-style: solid; border-width: 0 1px 1px 0"| Affin
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Lv
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| HP
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Str
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Skill
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Spd
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Luck
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Def
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Res
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Move
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Con
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Aid
!width=100; style="border-style: solid; border-width: 0 1px 1px 0"| Weapon level
|-

Also, when I posted it on the Eirika page I can only get borders to work for the stats part like this:
Code: [Select]
{{Template:CharacterStats}}
|style="border-style: solid; border-width: 0 1px 1px 0"|Lord
|style="border-style: solid; border-width: 0 1px 1px 0"|Light
|style="border-style: solid; border-width: 0 1px 1px 0"|1
|style="border-style: solid; border-width: 0 1px 1px 0"|6
|style="border-style: solid; border-width: 0 1px 1px 0"|4
|style="border-style: solid; border-width: 0 1px 1px 0"|8
|style="border-style: solid; border-width: 0 1px 1px 0"|9
|style="border-style: solid; border-width: 0 1px 1px 0"|5
|style="border-style: solid; border-width: 0 1px 1px 0"|3
|style="border-style: solid; border-width: 0 1px 1px 0"|1
|style="border-style: solid; border-width: 0 1px 1px 0"|5
|style="border-style: solid; border-width: 0 1px 1px 0"|5
|style="border-style: solid; border-width: 0 1px 1px 0"|4
|style="border-style: solid; border-width: 0 1px 1px 0"|Sword: E
|}

Is there any way I can make this shorter? Also, I grabbed the code from MediaWiki's table help page...


Offline Justin

  • Code Junkie
  • Forum Administrator
  • *****
  • Posts: 448
  • Gender: Male
  • NIWA's official code monkey
    • View Profile
    • Zelda Wiki
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #7 on: September 11, 2010, 12:10:36 AM »
I'm working on the Fire Emblem Wiki. I checked MediaWiki Help: Tables and made this template:
Template:CharacterStats.
The code is pretty long, but not that complicated:
Code: [Select]
{|style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000"
!width=100; style="border-style: solid; border-width: 0 1px 1px 0"| Class
!width=50; style="border-style: solid; border-width: 0 1px 1px 0"| Affin
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Lv
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| HP
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Str
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Skill
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Spd
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Luck
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Def
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Res
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Move
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Con
!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Aid
!width=100; style="border-style: solid; border-width: 0 1px 1px 0"| Weapon level
|-

Also, when I posted it on the Eirika page I can only get borders to work for the stats part like this:
Code: [Select]
{{Template:CharacterStats}}
|style="border-style: solid; border-width: 0 1px 1px 0"|Lord
|style="border-style: solid; border-width: 0 1px 1px 0"|Light
|style="border-style: solid; border-width: 0 1px 1px 0"|1
|style="border-style: solid; border-width: 0 1px 1px 0"|6
|style="border-style: solid; border-width: 0 1px 1px 0"|4
|style="border-style: solid; border-width: 0 1px 1px 0"|8
|style="border-style: solid; border-width: 0 1px 1px 0"|9
|style="border-style: solid; border-width: 0 1px 1px 0"|5
|style="border-style: solid; border-width: 0 1px 1px 0"|3
|style="border-style: solid; border-width: 0 1px 1px 0"|1
|style="border-style: solid; border-width: 0 1px 1px 0"|5
|style="border-style: solid; border-width: 0 1px 1px 0"|5
|style="border-style: solid; border-width: 0 1px 1px 0"|4
|style="border-style: solid; border-width: 0 1px 1px 0"|Sword: E
|}

Is there any way I can make this shorter? Also, I grabbed the code from MediaWiki's table help page...


I know why.
border-style and border-width are deprecated. Use
Code: [Select]
border: (width) (style) (color);
« Last Edit: September 11, 2010, 12:24:02 AM by Neo »
~~~~
Server bureaucrat of Zelda Wiki. I fix what you break.

Also a tech administrator for Poniverse.




Offline tacopill

  • Lylat Wiki Staff
  • ***
  • Posts: 3128
    • View Profile
    • csanimefan
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #8 on: September 11, 2010, 12:53:36 AM »







Offline Seritinajii

  • Paradichlorobenzene
  • Fire Emblem Wiki Staff
  • ***
  • Posts: 197
  • Gender: Male
  • Grammar is important!!
    • View Profile
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #9 on: September 11, 2010, 01:27:10 AM »
Wait, but, I'm not experienced in wiki table formatting, so how should I input the HTML or width & style values?

Offline tacopill

  • Lylat Wiki Staff
  • ***
  • Posts: 3128
    • View Profile
    • csanimefan
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #10 on: September 11, 2010, 01:42:32 AM »
you put in html attributes in the wiki syntax, like so:


Code: [Select]
{| style="border:3px solid orange;"
This box has a solid html border.
|}

Edit:  Taking a close look at it, have you tried puting "px" on the width=#; . border-width is still allowed if you wish to be specific on width for specific sides of the cell(s).
« Last Edit: September 11, 2010, 01:56:06 AM by tacopill »







Offline Seritinajii

  • Paradichlorobenzene
  • Fire Emblem Wiki Staff
  • ***
  • Posts: 197
  • Gender: Male
  • Grammar is important!!
    • View Profile
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #11 on: September 12, 2010, 03:06:30 PM »
So thanks to tacopill, I have the template table code quite cleared up.
Code: [Select]
{|style="border:1px solid black"
! width=100px|Class
! width=50px|Affin
! width=35px|Lv
! width=35px|HP
! width=35px|Str
! width=35px|Skill
! width=35px|Spd
! width=35px|Luck
! width=35px|Def
! width=35px|Res
! width=35px|Move
! width=35px|Con
! width=35px|Aid
! width=100px|Weapon level
|-
And same with the page that uses it. Here's the template now, and there aren't any lines between the different stats.
So I have individual box widths, but how can I make borders between the individual stat boxes?

Offline tacopill

  • Lylat Wiki Staff
  • ***
  • Posts: 3128
    • View Profile
    • csanimefan
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #12 on: September 12, 2010, 04:23:04 PM »
Code: [Select]
{| style="border:3px solid orange;"
! width=100px style="border-right:3px solid red;" |Class
! width=50px style="border-right:3px solid orange;"  |Affin
! width=35px style="border-right:3px solid yellow;"  |Lv
! width=35px style="border-right:3px solid green;"  |HP
! width=35px style="border-right:3px solid blue;"  |Str
! width=35px style="border-right:3px solid purple;"  |Skill
! width=35px style="border-right:3px solid red;"  |Spd
! width=35px style="border-right:3px solid orange;"  |Luck
! width=35px style="border-right:3px solid yellow;"  |Def
! width=35px style="border-right:3px solid green;"  |Res
! width=35px style="border-right:3px solid blue;"  |Move
! width=35px style="border-right:3px solid purple;"  |Con
! width=35px style="border-right:3px solid red;"  |Aid
! width=100px |Weapon level
|-
try this out. and happy to help out.







Offline Seritinajii

  • Paradichlorobenzene
  • Fire Emblem Wiki Staff
  • ***
  • Posts: 197
  • Gender: Male
  • Grammar is important!!
    • View Profile
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #13 on: September 13, 2010, 01:42:54 AM »
I actually think the rainbow design looks kinda nice... but anyway.
Here's the current template; how can I make the cell borders reach the top and bottom of the table?

Offline tacopill

  • Lylat Wiki Staff
  • ***
  • Posts: 3128
    • View Profile
    • csanimefan
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #14 on: September 13, 2010, 03:14:10 AM »
do you mind if i experiment on wiki that template? also. with that table ever have more than 2 rows? (the header row and 1 data row). 







Offline Seritinajii

  • Paradichlorobenzene
  • Fire Emblem Wiki Staff
  • ***
  • Posts: 197
  • Gender: Male
  • Grammar is important!!
    • View Profile
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #15 on: September 13, 2010, 11:14:23 AM »
Nope..

It seems that someone's changed the template - Here's the current template, and I think it looks better than what I was trying to put together. So I guess this is done..

Offline tacopill

  • Lylat Wiki Staff
  • ***
  • Posts: 3128
    • View Profile
    • csanimefan
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #16 on: September 13, 2010, 01:56:27 PM »
ok, nevermind on that then.

The information in the header row, is any of it important enough to get it's own page?







Offline Seritinajii

  • Paradichlorobenzene
  • Fire Emblem Wiki Staff
  • ***
  • Posts: 197
  • Gender: Male
  • Grammar is important!!
    • View Profile
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #17 on: September 14, 2010, 10:17:56 AM »
They probably all warrant pages. Or, possibly, most of them can be allocated to a "stats" page or something. Class, afffinity, and weapon level probably would get their own pages.

Offline Tappy

  • Forum Administrator
  • *****
  • Posts: 270
  • Gender: Male
    • View Profile
    • Hyrule.net
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #18 on: September 15, 2010, 03:28:51 AM »
Ello! I'm starting to work on SSB Wiki and I've got a question about templates.

Is it possible to hide certain parts of a template if it's not used?

Say I have template:

Code: [Select]
{| style="border: 1px #cecece solid; width: 500px;" cellspacing="0" cellpadding="0"
|-
! colspan="2" style="text-align: center;font-weight: bold;background: #e9e9e9;border-bottom: 1px #cecece solid;"| {{PAGENAME}} Moves in SSBB
|-
| style="background: #e9e9e9; border-right: 1px #cecece solid; border-bottom: 1px #cecece solid; text-align: center; width: 50%;"| Standard Special Move
| style="background: #fbfbfb; border-bottom: 1px #cecece solid; padding-left: 3px;"| {{{standard}}}
|-
| style="background: #e9e9e9; border-right: 1px #cecece solid; border-bottom: 1px #cecece solid; text-align: center;width: 50%;"| Side Special Move
| style="background: #fbfbfb; border-bottom: 1px #cecece solid; padding-left: 3px;"| {{{side}}}
|-
| style="background: #e9e9e9; border-right: 1px #cecece solid; border-bottom: 1px #cecece solid; text-align: center;width: 50%;"| Up Special Move
| style="background: #fbfbfb; border-bottom: 1px #cecece solid; padding-left: 3px;"| {{{up}}}
|-
| style="background: #e9e9e9; border-right: 1px #cecece solid; border-bottom: 1px #cecece solid; text-align: center;width: 50%;"| Down Special Move
| style="background: #fbfbfb; border-bottom: 1px #cecece solid; padding-left: 3px;"| {{{down}}}
|-
| style="background: #e9e9e9; border-right: 1px #cecece solid; text-align: center;width: 50%;"| Final Smash
| style="background: #fbfbfb; padding-left: 3px;"| {{{final}}}
|}

But perhaps X Character doesn't have let's say Up Special Move and we ignore it on the article page when including the template:

Code: [Select]
{{Moves(SSBB)
| standard = sdg
| side = asdf
| down = uio2b365
| final = sdgf
}}

How do you make it so it doesn't apply the template and stick in this case {{{up}}} ?

Thanks :)
Webmaster of Hyrule.net (a mastermind of ZeldaWiki.org)

Offline tacopill

  • Lylat Wiki Staff
  • ***
  • Posts: 3128
    • View Profile
    • csanimefan
Re: The Wiki Help Desk V2: Mash That Edit Button!
« Reply #19 on: September 15, 2010, 05:01:46 AM »
There's a smash bros. wiki? why have i not heard of this?  ???


Anyway,

one way you could do it, is to follow tina's example with the Character infobox over at WikiBound. In it, she specifies a sepearte varible to be set to true, if she wants certain fields/rows to appear. if they are ignored, the row simply doesn't appear.

This uses the following pages:
# 1
# 2