Template talk:WikiProject Bridges article

From Wikipedia, the free encyclopedia

[edit] Implementing "nested" option

{{editprotected}} (btw, why is this template protected?)

Please replace the very first line:

{| class="messagebox {{#ifeq:{{{small|}}}|yes|small|standard}}-talk"

with the nesting code:

{| class="{{#ifeq:{{lc:{{{nested|}}}}}|yes|collapsible collapsed messagebox nested-talk|{{#ifeq:{{lc:{{{small|}}}}}|yes|messagebox small-talk|messagebox standard-talk}}}}"
|-
{{#ifeq:{{lc:{{{nested|}}}}}|yes|
! colspan="2" style="text-align: center" {{!}} [[Wikipedia:WikiProject Bridges|WikiProject Bridges]]{{#if:{{{class|}}} |      (Rated {{ucfirst:{{{class}}}}}-Class)|}}
}}

Please note the ampersands and copy from this regular page, not the code. Thanks! -- SatyrTN (talk | contribs) 17:13, 25 May 2007 (UTC)

Done. Also, the template is protected because there are over 600 transclusions of it. Cheers. --MZMcBride 19:06, 25 May 2007 (UTC)