CargoAdmin, Bureaucrats, Moderators (CommentStreams), fileuploaders, Interface administrators, newuser, Push subscription managers, Suppressors, Administrators
14,662
edits
No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
<section begin="intro" />'''Portals''' are essentially a page with a bunch of smaller pages contained in blocks which can easily be reorganized on a page. They utilize a responsive web design allowing content to be resized on different sized screen and mobile devices. | <section begin="intro" />'''Portals''' are essentially a page with a bunch of smaller pages contained in blocks which can easily be reorganized on a page. They utilize a responsive web design allowing content to be resized on different sized screen and mobile devices. | ||
The idea of a portal is to help readers and/or editors navigate their way through | The idea of a portal is to help readers and/or editors navigate their way through USApedia topic areas through pages similar to the Main Page. In essence, portals are useful entry-points to USApedia content. | ||
They intended to serve as "[[Main Page]]s" for specific topics or areas. It is meant for both readers and editors of [[ | They intended to serve as "[[Main Page]]s" for specific topics or areas. It is meant for both readers and editors of [[USApedia]], and should promote content and encourage contribution. A portal may be associated with one or more [[WikiProjects]]. | ||
See how to [[Help:Portals#Creating%20a%20portal|create a portal]]. | |||
<section end="intro" /> | |||
{{Comment|{{#lst:Help:Portal|intro}}}} | {{Comment|{{#lst:Help:Portal|intro}}}} | ||
| Line 336: | Line 340: | ||
Create a new page using <nowiki>[[Portal:Topic]]</nowiki> as the title of the page (where "Topic" is the subject of your portal). | Create a new page using <nowiki>[[Portal:Topic]]</nowiki> as the title of the page (where "Topic" is the subject of your portal). | ||
* | *Enter the following text | ||
<nowiki>{{subst:box portal skeleton}}</nowiki> | <nowiki>{{subst:box portal skeleton}}</nowiki> | ||
| Line 350: | Line 352: | ||
====Box-header==== | ====Box-header==== | ||
Create <nowiki>[[Portal:Topic/box-header]]</nowiki> with | Create <nowiki>[[Portal:Topic/box-header]]</nowiki> with by copying and adding the text below. | ||
<nowiki>{{subst:Portal:Box-header}}</nowiki> <!-- For alternate styles try "Portal:Box-header-round" or "Portal:Box-header-groovy" --> | |||
<nowiki>{{Portal:Box-header | |||
|editpage={{{2}}} | |editpage={{{2}}} | ||
|border=#aaaaaa <nowiki><!-- This is the color of the borders around Box Sections --></nowiki> | |border=#aaaaaa <nowiki><!-- This is the color of the borders around Box Sections --></nowiki> | ||
|titleforeground=white <nowiki><!-- This is the color of the Box Section Title Bar text --></nowiki> | |titleforeground=white <nowiki><!-- This is the color of the Box Section Title Bar text --></nowiki> | ||
|titlebackground=#aaccff <nowiki><!-- This is the color of the Box Section Title Bar --></nowiki> | |titlebackground=#aaccff <nowiki><!-- This is the color of the Box Section Title Bar --></nowiki> | ||
|background=#f9f9ff <nowiki><!-- This is the color of the Box Section background --></nowiki> | |background=#f9f9ff <nowiki><!-- This is the color of the Box Section background --></nowiki> | ||
|<nowiki>foreground=black}}</nowiki><nowiki><noinclude> <!-- This is the color of the Box Section text --></nowiki> | |<nowiki>foreground=black}}</nowiki><nowiki><noinclude> <!-- This is the color of the Box Section text --></nowiki> | ||
<nowiki></noinclude></nowiki> | <nowiki></noinclude></nowiki> | ||
See lots of [https://en.wikipedia.org/w/index.php?search=intitle%3A%2Fbox-header&title=Special:Search&profile=advanced&fulltext=1&advancedSearch-current=%7B"fields"%3A%7B"intitle"%3A"%2Fbox-header"%7D%7D&ns100=1 Wikipedia box headers]. | |||
====Box-footer==== | ====Box-footer==== | ||
Create <nowiki>[[Portal:Topic/box-footer]]</nowiki> | Create <nowiki>[[Portal:Topic/box-footer]]</nowiki> by copying and adding the text below. | ||
<nowiki>{{subst:Portal:box-footer}}</nowiki> | |||
<nowiki>{{Portal:box-footer | |||
===Begin editing=== | ===Begin editing=== | ||
| Line 463: | Line 452: | ||
===Color=== | ===Color=== | ||
[[File:Portal color options.png|thumb|485x485px|Portal color options]]The colors of the portal can be adjusted in the box-header [[subpage]]. | [[File:Portal color options.png|thumb|485x485px|Portal color options]]The colors of the portal can be adjusted in the box-header [[subpage]]. | ||
*Replace "Topic" with your portal's name - "Portal:Topic/box-header" | *Replace "Topic" with your portal's name - "Portal:Topic/box-header" | ||
*Please remember that colors need to be [[Accessibility|accessible]] to those with disabilities (color blindness, low vision, etc.). See [[USApedia:Accessibility]] for more details. | |||
*Please remember that colors need to be [[Accessibility|accessible]] to those with disabilities (color blindness, low vision, etc.). See [[ | **[https://toolness.github.io/accessible-color-matrix/ Accessible color palette builder] - U.S. General Services Administration (GSA) | ||
**[https://toolness.github.io/accessible-color-matrix/ Accessible color palette builder] - | |||
**[https://venngage.com/tools/accessible-color-palette-generator Accessible color palette generator] | **[https://venngage.com/tools/accessible-color-palette-generator Accessible color palette generator] | ||
*Wikipedia has [https://en.wikipedia.org/wiki/Template:Box-header#Box-header_color_palettes Box-header color palettes], but they have not been vetted for accessibility | *Wikipedia has [https://en.wikipedia.org/wiki/Template:Box-header#Box-header_color_palettes Box-header color palettes], but they have not been vetted for accessibility | ||
*[http://www.color-hex.com/color-names.html HEX Colors] can be useful | *[http://www.color-hex.com/color-names.html HEX Colors] can be useful | ||
| Line 491: | Line 473: | ||
===Tabs=== | ===Tabs=== | ||
[[File: | [[File:USApedia tabs.png|thumb|870x870px|Example tabs|link=Special:FilePath/USApedia_tabs.png]]Tabs can add more places for information, while keeping most content above the fold. | ||
It is recommended to: | It is recommended to: | ||
| Line 584: | Line 566: | ||
====Examples==== | ====Examples==== | ||
*{{W|Portal:Human rights/Things you can do/Tabs}} | *{{W|Portal:Human rights/Things you can do/Tabs}} | ||
*{{W|Portal:African American/Tabs}} | *{{W|Portal:African American/Tabs}} | ||
====Renaming==== | ====Renaming==== | ||
To rename a tab: | To rename a tab: | ||
#Follow to tab link | #Follow to tab link | ||
#[[Rename a page|Rename the page]] as normal (keeping it in the Portal [[namespace]]) | #[[Rename a page|Rename the page]] as normal (keeping it in the Portal [[namespace]]) | ||
#Go to the tab subpage (such as [[Portal:Occupational medicine/Tab2]]) | #Go to the tab subpage (such as [[Portal:Occupational medicine/Tab2]]) | ||
#Change the link and the tab title | #Change the link and the tab title | ||
#Save the page changes | #Save the page changes | ||
edits