Content deleted Content added
MalnadachBot (talk | contribs) m Fixed Lint errors. (Task 12) |
MalnadachBot (talk | contribs) m Fixed Lint errors. (Task 12) |
||
Line 242:
== Placing notes into the banner ==
I noticed there is code to add a link to a page of notes, but what if I want to just have the ability to put {{tl|Template|class=Start|notes="Needs references"}} and have the text "There are notes on improving this article: Needs references" appear below the quality/importance. Is this possible? - '''[[User:Floydian|<
:Of course. Is this a to-do list or something? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 19:01, 23 August 2009 (UTC)
::No just on an individual article basis. My "needs references" was just an example of what I could type in. Basically having notes="blah blah blah" as a parameter would make "blah blah blah" appear in the template. Sorry if I'm confusing, I don't even know how to word something like this. I don't want a predetermined list of notes to call upon, but rather the ability to add a note individually to each article (if that makes sense) - '''[[User:Floydian|<
:::I'm guess, looking at your contributions, that you are talking about the progressive rock template? I've put some possible code in the [[Template:Progressive Rock/sandbox|template sandbox]]. So for example <nowiki>{{WikiProject Progressive Rock|class=C|note=needs references}}</nowiki> would produce:
{{WikiProject Progressive Rock/sandbox|class=C|note=needs references|category=no}}
:::Is this what you had in mind? If not you might be able to work out how to tweak the code. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 19:52, 23 August 2009 (UTC)
::::Thats exactly it :) Thank you once again for your awesome template knowledge Martin!.. If-then conditionals in wiki syntax are really strange. - '''[[User:Floydian|<
:::::Great, another satisfied customer. You're welcome :) — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 20:30, 23 August 2009 (UTC)
|