Difference between revisions of "Template:ProposalAlert"

From Nookipedia, the Animal Crossing wiki
m (Protected "Template:ProposalAlert": This template is transcluded to the Main Page via {{Main Page/Wiki News}}. ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(adding category)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#ifexpr:{{PAGESINCATEGORY:Active proposals}}><noinclude>=</noinclude>0|<div style="width=100%; border-bottom:1px solid #b3b1b1; font-size:120%; padding-bottom:3px;">🗳️ There is an active [[Nookipedia:Proposals|Nookipedia Proposal]]!</div>}}<noinclude><br>
+
{{#ifexpr:{{PAGESINCATEGORY:Active proposals}}><noinclude>=</noinclude>0|
 +
{{Content Notice
 +
| message        = 🗳️ There is an active [[Nookipedia:Proposals|Nookipedia Proposal]]!
 +
| primarycolor    = 0 0
 +
| overrideprimary = 85%
 +
| overridetext    = 20%
 +
}}}}<noinclude><br>
 
{{Documentation}}
 
{{Documentation}}
 +
[[Category:Main Page templates]]</noinclude>

Latest revision as of 09:40, June 16, 2022

🗳️ There is an active Nookipedia Proposal!


Template documentation (view)


This template makes use of Category:Active proposals and produces a notice if there is a page in that administrative category.

See also