Difference between revisions of "BasicInternet:How to edit"
From its-wiki.no
Josef.Noll (Talk | contribs) |
Josef.Noll (Talk | contribs) |
||
Line 20: | Line 20: | ||
If you have any suggestions or comments, please let us know | If you have any suggestions or comments, please let us know | ||
+ | ---- | ||
+ | = Footer configuration = | ||
+ | uses: Extension:Header_Footer | ||
+ | === Per-Namespace Header and Footer === | ||
+ | Edit the pages: | ||
+ | * <code>MediaWiki:Hf-nsheader-''namespace name'' </code> | ||
+ | * <code>MediaWiki:Hf-nsfooter-''namespace name'' </code> | ||
+ | For the 'main' namespace, just use ''blank'' i.e. no string, but with the hyphen: | ||
+ | * <code>MediaWiki:Hf-nsheader- </code> | ||
+ | * <code>MediaWiki:Hf-nsfooter- </code> | ||
+ | |||
+ | === Per-Page Header and Footer === | ||
+ | Edit the pages: | ||
+ | * <code>MediaWiki:Hf-header-''page name'' </code> | ||
+ | * <code>MediaWiki:Hf-footer-''page name'' </code> | ||
+ | === Disable commands === | ||
+ | On ''edit'' protected pages, one can add | ||
+ | * <code>__NOHEADER__</code> to suppress the page level header | ||
+ | * <code>__NOFOOTER__</code> to suppress the page level footer | ||
+ | * <code>__NONSHEADER__</code> to suppress the namespace level header | ||
+ | * <code>__NONSFOOTER__</code> to suppress the namespace level footer | ||
+ | === CSS === | ||
+ | * Page Level Header: <nowiki><div class="hf-header"></nowiki> | ||
+ | * Namespace Level Header: <nowiki><div class="hf-nsheader"></nowiki> | ||
+ | * Page Level Footer: <nowiki><div class="hf-footer"></nowiki> | ||
+ | * Namespace Level Footer: <nowiki><div class="hf-nsfooter"></nowiki> | ||
+ | |||
+ | == Examples == | ||
+ | # Page [[MediaWiki:hf-nsheader-Extension]] would contain the wikitext to be included as header for all pages of the ''Extension'' namespace. | ||
+ | #* In this case, to suppress the header of the page [[Extension:HeaderFooter]] one should a) edit protect it, and b) add <code>__NONSHEADER__</code> in it. | ||
+ | # Page [[MediaWiki:hf-footer-Extension:HeaderFooter]] would contain the wikitext to be included as footer for the page [[Extension:HeaderFooter]]. | ||
+ | #* In this case, to suppress the footer of the page [[Extension:HeaderFooter]] one should a) edit protect it, and b) add <code>__NOFOOTER__</code> in it. | ||
[[Category:IT-help]] | [[Category:IT-help]] |
Revision as of 09:36, 9 March 2015
Contents
How to edit the BasicInternet pages
The Basic Internet pages are built up on top of a Semantic MediaWiki. The Basic Internet Foundation page is using the following elements
- Template:BIF_Navbar defines the elements in the navigation bare on top (from Home to About us)
- Template:BIF_Slideshow defines the pictures to be shown, we are working on the dynamic version
- Template:BIF_About holds the information about the home page
- BIF_News holds the right column, including people and more
Note: Translation to Norwegian is simply by adding /NO to any page. Example: BIF_News has the English version of people and more, while BIF_News/NO has the Norwegian version of information on people.
Login to the Wiki
In the upper corner you have the Login. After the login, the Edit is in the footer of each Wiki page.
Note: All users can add new users to the Wiki through Special:UserLogin/signup
Formatting on a wiki
As such, editing is done based on the syntax given in MediaWiki, Help Formatting. Alternatively you can mark a word or sentence, and then use the pictograms on the top to achieve the formatting.
Comments/Suggestions ?
If you have any suggestions or comments, please let us know
uses: Extension:Header_Footer
Edit the pages:
-
MediaWiki:Hf-nsheader-namespace name
-
MediaWiki:Hf-nsfooter-namespace name
For the 'main' namespace, just use blank i.e. no string, but with the hyphen:
-
MediaWiki:Hf-nsheader-
-
MediaWiki:Hf-nsfooter-
Edit the pages:
-
MediaWiki:Hf-header-page name
-
MediaWiki:Hf-footer-page name
Disable commands
On edit protected pages, one can add
-
to suppress the page level header
-
to suppress the page level footer
-
to suppress the namespace level header
-
to suppress the namespace level footer
CSS
- Page Level Header: <div class="hf-header">
- Namespace Level Header: <div class="hf-nsheader">
- Page Level Footer: <div class="hf-footer">
- Namespace Level Footer: <div class="hf-nsfooter">
Examples
- Page MediaWiki:hf-nsheader-Extension would contain the wikitext to be included as header for all pages of the Extension namespace.
- In this case, to suppress the header of the page Extension:HeaderFooter one should a) edit protect it, and b) add
in it.
- In this case, to suppress the header of the page Extension:HeaderFooter one should a) edit protect it, and b) add
- Page MediaWiki:hf-footer-Extension:HeaderFooter would contain the wikitext to be included as footer for the page Extension:HeaderFooter.
- In this case, to suppress the footer of the page Extension:HeaderFooter one should a) edit protect it, and b) add
in it.
- In this case, to suppress the footer of the page Extension:HeaderFooter one should a) edit protect it, and b) add