Template talk:WikiProject Halloween

Latest comment: 15 years ago by Otherlleft in topic Suggested coding change
WikiProject iconHolidays: Halloween Template‑class
WikiProject iconThis template is within the scope of WikiProject Holidays, a collaborative effort to improve the coverage of holidays on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
Taskforce icon
This template is supported by the Halloween task force.

Suggested coding change edit

I am not great at coding these banners but here would be my suggestion

{| class="{{#ifeq:{{{nested|}}}|yes|collapsible collapsed messagebox nested-talk|{{#ifeq:{{{small|}}}|yes|messagebox small-talk|messagebox standard-talk}}}}" |- {{#ifeq:{{{nested|}}}|yes| ! colspan="2" style="text-align: center" {{!}} [[Wikipedia:WikiProject Halloween|WikiProject Halloween]] {{#if:{{{class|}}}| (Rated {{{class}}}-Class)}} }} |- | [[Image:Jack-o'-Lantern_2003-10-31.jpg|{{#ifeq:{{{small|}}}|yes|30px|45px}}]] | This article falls within the scope of the '''[[Wikipedia:WikiProject Halloween|WikiProject Halloween]]''', a collaborative effort to improve Wikipedia's coverage of [[Halloween]]. If you would like to participate, you can visit the [[Wikipedia:WikiProject Halloween|project page]], where you can join the project and see a list of open tasks. |- {{#if:{{{class|}}}| {{#ifeq:{{{class|}}}|NA| {{!}} {{{{{class}}}-Class}} {{!}} This page is not an article and does not require a '''[[Wikipedia:Version 1.0 Editorial Team/Assessment|rating]]''' on the quality or importance [[Wikipedia:WikiProject Halloween/Assessment|scale]].<includeonly>[[Category:Non-article Halloween pages|{{PAGENAME}}]]</includeonly> | {{!}} {{{{{class}}}-Class}} {{!}} This article has been '''[[Wikipedia:Version 1.0 Editorial Team/Assessment|rated]]''' as '''{{{class}}}-Class''' on the [[Wikipedia:Version 1.0 Editorial Team/Assessment|quality scale]]. }} | {{!}} {{-Class}} {{!}} This article has not yet '''[[Wikipedia:Version 1.0 Editorial Team/Assessment|received a rating]]''' on the [[Wikipedia:Version 1.0 Editorial Team/Assessment|quality scale]]. }} |- {{#ifeq:{{{class|}}}|NA|| {{#if:{{{importance|}}}| {{!}} {{{{{importance}}}-importance}} {{!}} This {{#ifeq:{{{class|}}}|NA|non-article page|article}} has been '''[[Template:WikiProject Halloween|rated]]''' as '''{{{importance}}}-importance''' on the [[Wikipedia:WikiProject Halloween/Assessment|importance scale]]. | {{!}} style="color: purple;" {{-Class}} {{!}} This article has not yet '''[[Template:WikiProject Halloween|received a rating]]''' on the [[Wikipedia:WikiProject Halloween/Assessment|importance scale]]. }} }} |- | |{{#ifexist:{{FULLPAGENAME}}/Comments|<small>[[{{FULLPAGENAME}}/Comments{{!}}Assessment comments.]]</small><includeonly>[[Category:Anthroponymy articles with comments{{!}}{{PAGENAME}}]]</includeonly>|<small>[[{{FULLPAGENAME}}/Comments{{!}}If you have rated this article please consider adding assessment comments.]]</small> }} <!-- -->{{#switch:{{{class}}} |FA|fa=[[Category:FA-Class Halloween articles|{{PAGENAME}}]] |FL|fl=[[Category:FL-Class Halloween articles|{{PAGENAME}}]] |A|a=[[Category:A-Class Halloween articles|{{PAGENAME}}]] |GA|ga=[[Category:GA-Class Halloween articles|{{PAGENAME}}]] |B|b=[[Category:B-Class Halloween articles|{{PAGENAME}}]] |C|c=[[Category:C-Class Halloween articles|{{PAGENAME}}]] |Start|start=[[Category:Start-Class Halloween articles|{{PAGENAME}}]] |Stub|stub=[[Category:Stub-Class Halloween articles|{{PAGENAME}}]] |List|list=[[Category:List-Class Halloween articles|{{PAGENAME}}]] |Dab|disambig=[[Category:Disambig-Class Halloween pages|{{PAGENAME}}]] |Disambig|disambig=[[Category:Disambig-Class Halloween pages|{{PAGENAME}}]] |Redir|redir=[[Category:Redir-Class Halloween pages|{{PAGENAME}}]] |Cat|category=[[Category:Category-Class Halloween pages|{{PAGENAME}}]] |Category|category=[[Category:Category-Class Halloween pages|{{PAGENAME}}]] |Template|template=[[Category:Template-Class Halloween pages|{{PAGENAME}}]] |NA|na=[[Category:Non-article Halloween pages|{{PAGENAME}}]] |portal|Portal|PORTAL=[[Category:Portal-class Halloween pages|{{PAGENAME}}]] |#default=[[Category:Unassessed Halloween articles|{{PAGENAME}}]] }}<!-- -->{{#ifeq:{{{class|}}}|NA|| {{#switch:{{{importance}}} |Top|top=[[Category:Top-importance Halloween articles|{{PAGENAME}}]] |High|high=[[Category:High-importance Halloween articles|{{PAGENAME}}]] |Mid|mid=[[Category:Mid-importance Halloween articles|{{PAGENAME}}]] |Low|low=[[Category:Low-importance Halloween articles|{{PAGENAME}}]] |No|no=[[Category:Disputed-importance Halloween articles|{{PAGENAME}}]] |NA|na=[[Category:NA-importance Halloween articles|{{PAGENAME}}]] |#default=[[Category:Unknown-importance Halloween articles|{{PAGENAME}}]] }}}} |} <noinclude> [[Category:WikiProject Halloween templates|Halloween]] [[Category:WikiProject banners|Halloween]] {{documentation}} </noinclude>

Awesome! edit

Thanks for monkeying about with this! Since the code is way over my head, would it work to just paste the above code into the template, or did you have to make changes for it to be on the talk page?--otherlleft (talk) 15:08, 6 November 2008 (UTC)Reply

Truthfully, I am not sure since I didn't put the original code together and I just ripped it off a previous template from a project I worked on. Hopefully it will work, but maybe not. But that is about as good as I can do with my limited coding skillz. Remember (talk) 15:14, 6 November 2008 (UTC)Reply
Well I ripped off the original so I can't imagine it being worse than my job! Consider yourself an honorary member of this project, by the way!--otherlleft (talk) 15:30, 6 November 2008 (UTC)Reply