You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template talk:Player: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(→‎syntax: reply)
(→‎syntax: fixed!)
Line 11: Line 11:
ok, i could use some help... i don't think we need to have names for the tags, as this is a pretty simple template... also, i would like the fields to appear empty if they are not being used (example: [[Newbie 438]])... right now, the only way i've figured out how to do that is not name the first 2 fields, and name the 3rd... if i don't name the 3rd, then when left blank appears as <code>[[ ]]</code> even when i use the <tt>"&nbsp"</tt> hack... (example: <code><nowiki>:*'''''[[{{{1}}}]]''''' | [[#{{{2}}}|{{{2}}}]] | [[{{{3|&nbsp}}}]]</nowiki></code>. (yes, i know i need a semicolon after &nbsp, but i there isn't a tag that doesn't interpret special characters)... i was wondering if somebody knew how to fix this for me, or what options we have, b/c having two non-named tags & 1 named tag seems tacky to me...<br/>-- [[User:LyingBrian|Lying]][[User_talk:LyingBrian|Brian]] 19:11, 18 August 2007 (MDT)
ok, i could use some help... i don't think we need to have names for the tags, as this is a pretty simple template... also, i would like the fields to appear empty if they are not being used (example: [[Newbie 438]])... right now, the only way i've figured out how to do that is not name the first 2 fields, and name the 3rd... if i don't name the 3rd, then when left blank appears as <code>[[ ]]</code> even when i use the <tt>"&nbsp"</tt> hack... (example: <code><nowiki>:*'''''[[{{{1}}}]]''''' | [[#{{{2}}}|{{{2}}}]] | [[{{{3|&nbsp}}}]]</nowiki></code>. (yes, i know i need a semicolon after &nbsp, but i there isn't a tag that doesn't interpret special characters)... i was wondering if somebody knew how to fix this for me, or what options we have, b/c having two non-named tags & 1 named tag seems tacky to me...<br/>-- [[User:LyingBrian|Lying]][[User_talk:LyingBrian|Brian]] 19:11, 18 August 2007 (MDT)
:The problem here is the difference between leaving a section blank (as in <nowiki>{{Player|LyingBrain|Day 1| }</nowiki>) and omitting a section entirely (as in <nowiki>{{Player|LyingBrain|Day1}}</nowiki>. The first one messes up, but the second works. I played around in the Wikipedia Sandbox, so I'm gonna try some thing now. I hope it works. [[User:SigmaEpsilon|SigmaEpsilon]] ([[User talk:SigmaEpsilon|talk]]) 13:56, 19 August 2007 (MDT)
:The problem here is the difference between leaving a section blank (as in <nowiki>{{Player|LyingBrain|Day 1| }</nowiki>) and omitting a section entirely (as in <nowiki>{{Player|LyingBrain|Day1}}</nowiki>. The first one messes up, but the second works. I played around in the Wikipedia Sandbox, so I'm gonna try some thing now. I hope it works. [[User:SigmaEpsilon|SigmaEpsilon]] ([[User talk:SigmaEpsilon|talk]]) 13:56, 19 August 2007 (MDT)
::It does work now. I put some examples in. [[User:SigmaEpsilon|SigmaEpsilon]] ([[User talk:SigmaEpsilon|talk]]) 14:00, 19 August 2007 (MDT)

Revision as of 20:00, 19 August 2007

New template

I've created new {{Player}} template to be used on the game pages. I tested it out on Newbie 438. I'm still a little unsure what to do about "roles" as the role link on many pages seem to like right back to that same section. IMO, this should be used to describe the role directly rather than link to a spot on the same page (or often on the same screen). I'm not familiar enough with the game to know if/how roles change, so could you offer advice on how to deal with this? SigmaEpsilon 12:41, 18 August 2007 (MDT)

ok, so i modified this somewhat... i don't see a purpose in creating an extra link for the player's profile when the player's name can serve the same purpose... you're correct that i had "Role" linking back to the player section if a player was not dead yet... we have wiki pages to describe the role, plus there are 2 school of thoughts as to how a player list should be organized... the first is by timeline, example: Newbie 402, the second is alphabetically, example: Mini 424. i prefer alphabetic b/c if someone is browsing through a player list, looking for a username, then in bigger games, it would be hard to find 1 name in a list that is not alphabetical (example: Good Ol' Mafia... if you're looking for who died on a specific day or night, you can quickly browse the Table of Contents and click on the day or night you're looking for... hope this explains my thoughts well...
-- LyingBrian 17:43, 18 August 2007 (MDT)
ok, that was a quick enough fix... i edited the template to include when a link to the player's role via the page heading, and a link to the wiki page for their role... see Newbie 140 for an example
-- LyingBrian 17:48, 18 August 2007 (MDT)

syntax

ok, i could use some help... i don't think we need to have names for the tags, as this is a pretty simple template... also, i would like the fields to appear empty if they are not being used (example: Newbie 438)... right now, the only way i've figured out how to do that is not name the first 2 fields, and name the 3rd... if i don't name the 3rd, then when left blank appears as [[ ]] even when i use the "&nbsp" hack... (example: :*'''''[[{{{1}}}]]''''' | [[#{{{2}}}|{{{2}}}]] | [[{{{3|&nbsp}}}]]. (yes, i know i need a semicolon after &nbsp, but i there isn't a tag that doesn't interpret special characters)... i was wondering if somebody knew how to fix this for me, or what options we have, b/c having two non-named tags & 1 named tag seems tacky to me...
-- LyingBrian 19:11, 18 August 2007 (MDT)

The problem here is the difference between leaving a section blank (as in {{Player|LyingBrain|Day 1| }) and omitting a section entirely (as in {{Player|LyingBrain|Day1}}. The first one messes up, but the second works. I played around in the Wikipedia Sandbox, so I'm gonna try some thing now. I hope it works. SigmaEpsilon (talk) 13:56, 19 August 2007 (MDT)
It does work now. I put some examples in. SigmaEpsilon (talk) 14:00, 19 August 2007 (MDT)