Difference between revisions of "Portal:Skeleton"
From eRepublik Official Wiki
(cat added; wiki) |
|||
Line 5: | Line 5: | ||
#* This is going to look like a ton of red links until you complete the steps below. | #* This is going to look like a ton of red links until you complete the steps below. | ||
#* '''DO NOT PRESS ON THE RED LINKS TO EDIT THEM!''' | #* '''DO NOT PRESS ON THE RED LINKS TO EDIT THEM!''' | ||
− | # <span style="color:#0000FF">Create a subpage at ''(Your Portal)/box'' and save <code><nowiki>{{Portal | + | # <span style="color:#0000FF">Create a subpage at ''(Your Portal)/box'' and save <code><nowiki>{{Portal Box/Core|title={{{1}}}|editpage={{{2}}}|text={{{3}}}}}</nowiki></code> on the page.</span> |
#* This can be customized with <code>|border=</code>, <code>|border-width=</code>, <code>|border-radius=</code>, <code>|background=</code>, <code>|opacity=</code>, and <code>|titleforeground=</code>. | #* This can be customized with <code>|border=</code>, <code>|border-width=</code>, <code>|border-radius=</code>, <code>|background=</code>, <code>|opacity=</code>, and <code>|titleforeground=</code>. | ||
# <span style="color:#0000FF">Alter the contents of your portal page to fit your needs by adding and removing the boxes.</span> | # <span style="color:#0000FF">Alter the contents of your portal page to fit your needs by adding and removing the boxes.</span> | ||
Line 12: | Line 12: | ||
===Optional feature=== | ===Optional feature=== | ||
− | # <span style="color:#0000FF">Create a subpage at ''(Your Portal)/boxblank'' and save <code><nowiki>{{Portal | + | # <span style="color:#0000FF">Create a subpage at ''(Your Portal)/boxblank'' and save <code><nowiki>{{Portal Box Blank|title={{{1}}}|editpage={{{2}}}|text={{{3}}}}}</nowiki></code> on the page.</span> |
#* This can be customized with <code>|border=</code>, <code>|border-width=</code>, <code>|border-radius=</code>, <code>|background=</code>, <code>|opacity=</code>, and <code>|titleforeground=</code>. | #* This can be customized with <code>|border=</code>, <code>|border-width=</code>, <code>|border-radius=</code>, <code>|background=</code>, <code>|opacity=</code>, and <code>|titleforeground=</code>. | ||
#* Instead of ''<nowiki>{{FULLPAGENAME}}/box</nowiki>'', you use ''<nowiki>{{FULLPAGENAME}}/boxblank</nowiki>''. Enjoy! | #* Instead of ''<nowiki>{{FULLPAGENAME}}/box</nowiki>'', you use ''<nowiki>{{FULLPAGENAME}}/boxblank</nowiki>''. Enjoy! | ||
==Templates used== | ==Templates used== | ||
− | *{{ | + | *{{Tl|Portal Box/Core}} |
− | *{{ | + | *{{Tl|Portal Box Blank}} |
− | *{{ | + | *{{Tl|Random portal component}} |
− | *{{ | + | *{{Tl|Random portal component with nominate}} |
− | *{{ | + | *{{Tl|Mod}} |
− | *{{ | + | *{{Tl|Rand}} |
− | *{{ | + | *{{Tl|Purge}} |
==Examples== | ==Examples== | ||
* [[:Category:Portals]] | * [[:Category:Portals]] | ||
− | + | [[Category:Portal Templates]]</noinclude><includeonly> | |
− | + | __NOTOC__ | |
− | </noinclude>__NOTOC__ | + | |
<div style="clear:both; width:100%"> | <div style="clear:both; width:100%"> | ||
− | {{ | + | {{Portal Box|<big>{{PAGENAME}}</big>|{{FULLPAGENAME}}/Intro|3={{{{FULLPAGENAME}}/Intro}}}} |
<div style="text-align:center; margin:0.25em auto 0.75em">{{Purge|'''Show new selections'''}}</div> | <div style="text-align:center; margin:0.25em auto 0.75em">{{Purge|'''Show new selections'''}}</div> | ||
Line 45: | Line 44: | ||
{{Random portal component with nominate|max=5|header=Selected biography| subpage=Selected biography}} | {{Random portal component with nominate|max=5|header=Selected biography| subpage=Selected biography}} | ||
− | {{ | + | {{Portal Box|In the news|{{FULLPAGENAME}}/News|3={{{{FULLPAGENAME}}/News}}}} |
</div> | </div> | ||
Line 55: | Line 54: | ||
{{Random portal component with nominate|max=5|header=Did you know?| subpage=Did you know}} | {{Random portal component with nominate|max=5|header=Did you know?| subpage=Did you know}} | ||
− | {{ | + | {{Portal Box|Categories|{{FULLPAGENAME}}/Categories|3={{{{FULLPAGENAME}}/Categories}}}} |
</div> | </div> | ||
Line 61: | Line 60: | ||
<div style="clear:both; width:100%"> | <div style="clear:both; width:100%"> | ||
− | {{ | + | {{Portal Box|Topics|{{FULLPAGENAME}}/Topics|3={{{{FULLPAGENAME}}/Topics}}}} |
− | {{ | + | {{Portal Box|Related portals|{{FULLPAGENAME}}/Related portals|3={{{{FULLPAGENAME}}/Related portals}}}} |
</div> | </div> | ||
<div style="float:left; width:55%"> | <div style="float:left; width:55%"> | ||
− | {{ | + | {{Portal Box|WikiProjects|{{FULLPAGENAME}}/Projects|3={{{{FULLPAGENAME}}/Projects}}}} |
</div> | </div> | ||
<div style="float:right; width:44%"> | <div style="float:right; width:44%"> | ||
− | {{ | + | {{Portal Box|Things to do|{{FULLPAGENAME}}/Opentask|3={{{{FULLPAGENAME}}/Opentask}}}} |
</div> | </div> | ||
Line 79: | Line 78: | ||
<div style="clear:both; width:100%"> | <div style="clear:both; width:100%"> | ||
− | {{ | + | {{Portal Box|eRepublik|{{FULLPAGENAME}}/eRepublik|3={{{{FULLPAGENAME}}/eRepublik}}}} |
</div> | </div> | ||
__NOTOC__ __NOEDITSECTION__ | __NOTOC__ __NOEDITSECTION__ | ||
− | |||
[[Category:{{PAGENAME}}|*{{FULLPAGENAME}}]] | [[Category:{{PAGENAME}}|*{{FULLPAGENAME}}]] | ||
<!-- Recategorize Category:Portals under construction to an appropriate subcategory of Category:Portals | <!-- Recategorize Category:Portals under construction to an appropriate subcategory of Category:Portals |
Revision as of 07:34, 16 October 2020
Usage
- Go to the page where you want to create the portal, then save
{{SUBST:Portal:Skeleton}}
on the page.- This is going to look like a ton of red links until you complete the steps below.
- DO NOT PRESS ON THE RED LINKS TO EDIT THEM!
- Create a subpage at (Your Portal)/box and save
{{Portal Box/Core|title={{{1}}}|editpage={{{2}}}|text={{{3}}}}}
on the page.- This can be customized with
|border=
,|border-width=
,|border-radius=
,|background=
,|opacity=
, and|titleforeground=
.
- This can be customized with
- Alter the contents of your portal page to fit your needs by adding and removing the boxes.
- Create pages for the contents of the boxes at (Your Portal)/(Box name).
- For the randomized boxes, save different contents at (Your Portal)/(Box name)/(#), where (#) would be 1 through 5.
Optional feature
- Create a subpage at (Your Portal)/boxblank and save
{{Portal Box Blank|title={{{1}}}|editpage={{{2}}}|text={{{3}}}}}
on the page.- This can be customized with
|border=
,|border-width=
,|border-radius=
,|background=
,|opacity=
, and|titleforeground=
. - Instead of {{FULLPAGENAME}}/box, you use {{FULLPAGENAME}}/boxblank. Enjoy!
- This can be customized with
Templates used
- {{Portal Box/Core}}
- {{Portal Box Blank}}