සැකිල්ල:Basic portal start page
මෙම සැකිල්ල අනිවාර්යයෙන් ම ආදේශනය කළ යුතුයි (භාවිතය උදාහරණයක් ලෙස, {{subst:Basic portal start page}} ආකාර වේ). |
This is a template of a starting page with which to create a new single-page portal. It provides a starting point from which to develop a portal further.
This template is designed for the creation of new portals. Please do not replace old portals with this template.
Usage
සංස්කරණයTo use the template, place this as the only content of a portal page: {{subst:Basic portal start page}}
If you name the portal to a subject that has a matching root article, navigation footer, and category with the same subject title as the portal, then {{Basic portal start page}} will usually create a complete ready-to-use portal. If any of the those pages are about a synonymous but different subject, the affected sections will have erroneous content that will need to be replaced. You do that by changing the page title called in the affected sections. For fastest portal creation, choose subjects with these support structures in place. To check for them, do a page preview first when using the template.
Then click on Preview, and inspect for completeness. Check the image slide show for multiple images. Look over the portal for Lua errors.
If the portal appears complete, or you are prepared to complete it even though it is not, save the page. Then follow these development steps:
- If the intro section includes a red link or error message, replace the
{{PAGENAME}}
code with the title of the subject's root article. - If the "Selected articles" section is empty (or has an error message instead of content), either change the sourcepage name with the appropriate navigation template name, or use Template:Transclude excerpts as random slideshow, and specify the names of the specific articles you want covered in the section.
- If the "Selected images" section is empty (or has an error message), replace the sourcepage name provided with another sourcepage, or filenames. You can use multiple sourcepages and filenames as desired. See Template:Transclude files as random slideshow for detailed instructions.
- If the Did you know section is empty, it will be automatically hidden. To add or adjust parameters, see {{Transclude selected recent additions}}.
- If the In the news section is empty, it will be automatically hidden. To add or adjust parameters, see {{Transclude selected current events}}.
Note: There are other ways of creating a portal using different architectures. The Basic portal start page uses automated features to produce a portal on a single page, that almost completely maintains itself once completed.
Optional parameters
සංස්කරණය|topics=
- If set tono
, the Topics section will be hidden in the generated page.