NIWA Community Forums
NIWA Community => Wiki References => Topic started by: Member#36 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!
-
as all non-wiki related questions will be deleted on sight.
It's sight. S-I-G-H-T.
-
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....
-
;)
http://www.niwanetwork.org/forums/index.php?topic=346.0
-
;)
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.
-
;)
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.
-
I'm working on the Fire Emblem Wiki. I checked MediaWiki Help: Tables and made this template:
Template:CharacterStats (http://fireemblemwiki.zelda-temple.net/Template:CharacterStats).
The code is pretty long, but not that complicated:
{|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:
{{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'm working on the Fire Emblem Wiki. I checked MediaWiki Help: Tables and made this template:
Template:CharacterStats (http://fireemblemwiki.zelda-temple.net/Template:CharacterStats).
The code is pretty long, but not that complicated:
{|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:
{{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
border: (width) (style) (color);
-
check out this page: http://www.code-generator.net/html/codes/html-border-code.cfm.
-
Wait, but, I'm not experienced in wiki table formatting, so how should I input the HTML or width & style values?
-
you put in html attributes in the wiki syntax, like so:
{| 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).
-
So thanks to tacopill, I have the template table code quite cleared up.
{|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 (http://fireemblemwiki.zelda-temple.net/index.php?title=Template:CharacterStats)'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?
-
{| 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.
-
I actually think the rainbow design looks kinda nice... but anyway.
Here's (http://fireemblemwiki.zelda-temple.net/Template:CharacterStats) the current template; how can I make the cell borders reach the top and bottom of the table?
-
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).
-
Nope..
It seems that someone's changed the template - Here (http://fireemblemwiki.zelda-temple.net/Template:CharacterStats)'s the current template, and I think it looks better than what I was trying to put together. So I guess this is done..
-
ok, nevermind on that then.
The information in the header row, is any of it important enough to get it's own page?
-
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.
-
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:
{| 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:
{{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 :)
-
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 (http://grifkuba.org/MotherEarthBoundWiki/index.php?title=Template:Character_infobox). 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 (http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions)
# 2 (http://www.mediawiki.org/wiki/Extension:ParserFunctions)
-
Thanks
-
your welcome.
And....can i get in on the smash bros wiki.... i was trying to start a niwa-intened one (http://www.niwanetwork.org/forums/index.php?topic=15.msg1837#msg1837), but i was told no....
-
http://ssb.gam1ng.com
-
i'm in and i'm user #2!
-
Yes it is possible, that's when if statements come in. {{#if:}}
-
Title change, hahaha. Pretty accurate; tacopill solves all sortsa stuff here..
-
*gets up on stage*
I'd like to thank the academy, my parents, one or more respective dieties.
*end joke*
Anyway, i am humbled and honored. Thank you.
-
I need some help with tables, blargh.
Right here (http://grifkuba.org/MotherEarthBoundWiki/index.php?title=User:Tina/Main_Page). Is there a way to make the four middle sections have equal heights? They're tables within a table, so I'm not really sure how that would work..
And if there's no way to adjust the heights... is there a way to align the headers so they're next to eachother nice and evenly? I dunno how to explain that but I hope that made sense. D:
-
Check out here (http://www.htmlcodetutorial.com/tables/_TABLE_HEIGHT.html). I believe that same attribute can be used cell wise, similar to cell-wise width.
Edit: My apologizes. I think they may of disabled table heights for mediawiki. Maybe there are other options out there (http://www.mediawiki.org/wiki/Help_talk:Tables#CSS_style_background-image_not_working_inside_cell_style).... :)
-
Graarghh. Oh, well. I'm sure once it's filled out everything'll end up being near-even, anyway. lol
-
My apologies again. Check out your sand box (http://grifkuba.org/MotherEarthBoundWiki/index.php?title=User:Tina/Main_Page&action=historysubmit&diff=1019&oldid=1017)
For everyone else, this is what i did:
I took this line of code
! Ongoing Work
and made it this
! height=900px | Ongoing Work
-
How can I add a favicon to a wiki?
-
For this situation, i think MediaWiki has it best. Of course, if you have more questions, feel free to ask.
How do I change the icon in the browser's address line (favicon)?
- Simply upload your favicon.ico to the root of your domain/subdomain, make sure file name is in lower case and its name is favicon.ico
- Alternatively edit the $wgFavicon setting in LocalSettings.php and add
$wgFavicon = "$wgScriptPath/path/to/your/favicon.ico";
See Manual:$wgFavicon (http://www.mediawiki.org/wiki/Manual:$wgFavicon) for more details.
Tip: The favicon image should be either 16 x 16 pixels or 32 x 32 pixels.
- quoted from Here (http://www.mediawiki.org/wiki/Favicon#How_do_I_change_the_icon_in_the_browser.27s_address_line_.28favicon.29.3F)
Personally, i like the second option: I get to keep a separate file name for each favicon.
-
Am I allowed to copy and paste templates from Wikipedia onto my own wiki? I think it would help a lot if I could borrow their Navbox template. According to their FAQ, it seems like I can (http://tinyurl.com/249uday (http://tinyurl.com/249uday)). I just want to make sure though.
-
you can, just be sure to cite or source them in someway shape or form.
Pesonally, i would use this:
Template gotten from [http://en.wikipedia.org/wiki/Template:Navbox] on October 26th, 2010.
It tells people 1) where i got it from, 2) when i got it (in the case the original page receives an update that my page doesn't have), and 3) if i were to choose to provide little to no documentation, the link tells people where to go for more details on how to use the template.
-
Okay, thank you
-
Okay, thank you
you're welcome!
-
How can I tell if I am allowed to upload an image to my wiki (as far as copyrights go)?
-
How can I tell if I am allowed to upload an image to my wiki (as far as copyrights go)?
Where do you intend on getting the images from?
-
How can I tell if I am allowed to upload an image to my wiki (as far as copyrights go)?
Where do you intend on getting the images from?
I was intending to get them from various websites (fan sites, video game blogs, Wikipedia, etc).
-
How can I tell if I am allowed to upload an image to my wiki (as far as copyrights go)?
Where do you intend on getting the images from?
I was intending to get them from various websites (fan sites, video game blogs, Wikipedia, etc).
Ok, then it depends on the site itself. If it doesn't says on the site "Please don't steal from our site", then don't. If it says, "you may take from the site, but only if you attribute us", then upload it with The source attributed (http://starfoxwiki.org/File:Brain_Squid_1.jpg).
However, be careful when taking from other wikis. Wikipedia's fine, so long as you give them credit. And avoid Wikia if you can.
-
As a general rule (at least on SmashWiki), we say that videogame screenshots are being used in a fair use way, and use that template for all such images.
-
As a general rule (at least on SmashWiki), we say that videogame screenshots are being used in a fair use way, and use that template for all such images.
So does that mean that SmashWiki allows uploading screenshots that one could find on Google Images?
-
Technically yes, though we infinitely prefer to get them from other video game wikis, sites like Brawlsnapshots (http://brawlsnapshots.com) that use decrypted in-game snapshots, and official sources like the Smash Bros. DOJO!! (http://smashbros.com)
-
...I know why.
border-style and border-width are deprecated. Use
border: (width) (style) (color);
border-style and border-width are NOT deprecated. border-width, border-style, border-color are shorthands for the border-{edge}-{type} properties, border-{edge} is a shorthand for border-{edge}-{width,style,color}, and border: is a full shorthand in the same format as border-{edge} which affects all four edges.
There is no color specified by those border rules though. Also the reason for use of border-width appears to be so that only specific edges will have the border.
The issue is probably that "!width=35; style="border-style: solid; border-width: 0 1px 1px 0"| Str" is not exactly valid. attributes don't have ; in them, that looks like a bad attempt at trying to do width=35 (html/wikitext), and width: 35px; at the same time mixing up html and css syntax. "! style="width: 35px; border-style: solid; border-width: 0 1px 1px 0; border-color: black;" |" as for shortening, I recommend trying to make use of the wiki's Common.css
--
Tch, the page list is hard to see in these forums.
-
Thank you, but that issue was resolved: Click here (http://fireemblemwiki.zelda-temple.net/index.php?title=Template:CharacterStats&action=historysubmit&diff=353&oldid=341). We just spontaneously dropped the topic here. ;D
What you said, however, should be brought to the attention of the quoted poster, Neo. Apparently, he has been misinformed.
-
Is there any way to make all the links on a single page appear a certain color?
-
I am pretty sure you can do it by editing the CSS, lemme give it a try at the code, and I'll post it here in a second
Ok, in the wiki CSS you just edit this
a { color: green; } /*This is for normal link*/
a:visited { color: yellow; } /*Visited links*/
a:active { color: pink; } /*And I have no idea about this one*/
-
Okay, thank you.
-
No problem, I am here to help
-
Tucayo & vince, try these out on your personal css, when you get a moment.
a:hover { color: white; } /* for hovering */
/* New Links, wanted pages */
a.new { color: #FF00FF; } /*This is for normal link*/
a.new:visited { color: orange; } /*Visited links*/
a.new:active { color: yellow; }
a.new:hover { color:green; }
/* external links */
a.external { color: silver; }
a.external:visited { color:gold; }
a.external:active { color: black; }
a.external:hover { color:#FFFF00; }
to explain some terminology:
* visited - is a site you have been too
* hover - when the mouse cursor is above the
and for fun, try this out:
tr:hover td { background-color:#ff6600; }
tr:hover th { background-color:#0066ff; }
(sorry if i stepped on anyone's toes with this)
-
Cool :D
Apparently, the external links thing didn't work for me :(
And I liked the second thing :P
-
my apologies, i forgot you need to add #content to the font of it. Like so:
#content a.external
{
color:#ff9e16;
}
-
I have a question that maybe someone can help explain to me:
How does one make a working character template? I've been trying to find pre-made templates through Google and browsing through other wikis, but nothing I've found has been 100% useful. I either can't access the coding that makes the template work, or when I do get the template and put it on my site (and do some minor modification), it doesn't work.
I just want a simple character template that has Name on top, then picture, then various details about the character (Gender, Role, Favorite Items, Detested Items, etc...).
I'm not looking for someone to write me a template, I'm just looking for a resource on making a template of that type, because none of the resources I've found through hours of Google have been useful. Of course, if you want to write me a template I wouldn't complain. :P
Much thanks,
- Maxite
-
if you want, i can lend you some of my templates.
Here are some samples:
http://starfoxwiki.org/Template:CharacterInfoBox_v2.5
http://starfoxwiki.org/Template:TeamInfoBox_v2.5
http://starfoxwiki.org/Template:GameInfoBox_v2.5
http://starfoxwiki.org/Template:UserInfoBox_v2.5
http://starfoxwiki.org/Template:ItemInfoBox_v2.5
at least to start off with.
-
The entire board is acting as the replacement for this thread. Happy thread making.
~ END OF THREAD ~