Template:Random portal component with nominate/doc: Difference between revisions

Content deleted Content added
add {{lua}}
updte
Line 15:
{{Portal:box-footer |Suggest • Archive }}
</pre>
== Layout 2 ==
<pre>
{{Random portal component with nominate
Line 37:
 
=== Prerequisites ===
 
* Create a sub-page first. If your portal is '''Portal:''Foo''''', then a sub-page could be '''Portal:''Foo''/Selected ''bar''''';
* On the '''Portal:Foo/Selected ''bar''''' sub-page, place the template {{tl|numbered subpages}} on the page and save it. The template will default to 50 subject sub-pages;
Line 73 ⟶ 72:
 
== Notes ==
 
'''Suggest''': a link to a nominate page that is located at '''Portal:yourportal/Nominate/Subpage name''' e.g. /Nominate/Selected picture.
I have found after attempting to get a portal featured that most people want to see a suggest link for all selected content. I loved the original random portal component but in order to add a second link to the bottom of a section you had to turn off the footer and create your own footers (for subpage and suggestions on each content page. So, instead of spending all that time to create links on subpages I thought my time would be better spent adding suggestions to the component itself.
Line 82 ⟶ 80:
{{portal template list}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!--Categories below this line, please; interwikis at Wikidata-->
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
 
[[Category:Wikipedia Portal templates]]
}}</includeonly>
 
</includeonly>