Difference between revisions of "Template:Useful links"

From Conservapedia
Jump to: navigation, search
(Reorder list, centre heading, include example)
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="{{#if:{{{background|}}}|{{#ifeq:{{{background}}}|off||background: {{{background}}};}}|background: #F9F9aa;}} border: 1px solid #AAAAAA; padding: .3em; width:{{{width|12em}}}; {{#if:{{{float|}}}|float:{{{float}}}}};">
+
<div style="{{#if:{{{background|}}}|{{#ifeq:{{{background}}}|off||background: {{{background}}};}}|background: F9F9aa;}} border: 1px solid #AAA; padding: .3em; width:{{{width|12em}}}; {{#if:{{{float|}}}|float:{{{float}}}}};">
<center>'''Useful links'''</center>
+
<center style="color:#00F">'''Useful links'''</center>
* [[Conservapedia:Commandments|Commandments]]
+
* [[Conservapedia:Videos on how to edit a wiki|How to edit a wiki]]
* [[Conservapedia:Manual of Style|Style manual]]
+
* [[Conservapedia:Commandments|CP Commandments]]
* [[help:Editing etiquette|Editing etiquette]]
+
* [[Conservapedia: Guidelines|CP Guidelines]]
* [[Conservapedia:Abuse|Report abuse]]
+
* [[Conservapedia:Manual of Style|Style Manual]]
* [[help:Templates|List of templates]]
+
* [[help:Editing etiquette|Editing Etiquette]]
* [http://faleg.org/cgi-bin/conservapedia/editcounter_Tool1?username={{PAGENAMEE}} Personal edit counter]
+
* [[Conservapedia:How to create and maintain high-quality articles|How to create and maintain high-quality articles]]
 +
* [[Conservapedia:Desk|Report Problems]]
 +
* [[Help:List_of_Templates|List of Templates]]
 +
 
 
</div>
 
</div>
 
<noinclude>
 
<noinclude>
'''Parameters''' (all are optional):
+
{{TemplateDoc|pages=user pages, mainly|purpose=convenient list of useful links}}
 +
{{Parms|
 +
{{Parm|width|width of box (see below)|no|default to 12em (see below)}}
 +
{{parm|background|Background colour (see below)|no|defaults to #F88}}
 +
{{parm|float|"left" or "right" (see below)|no|defaults to no floating}}
 +
}}
 +
Further information on the parameters:
  
{{useful links|float=right|background=#fbb}}
+
{{useful links|float=right|background=#F9F9aa}}
<small>(The example box at the right has parameters set as follows:<br /><tt><nowiki>{{useful links|float=right|background=#fbb}}</nowiki></tt>.)</small>
+
<small>(The example box at the right has parameters set as follows:<br /><tt><nowiki>{{useful links|float=right|background=#F9F9aa}}</nowiki></tt>.)</small>
 
* '''width'''.  The width of the box.  Currently defaults to "12em" to suit the current list, but this could be changed if the list is changed.
 
* '''width'''.  The width of the box.  Currently defaults to "12em" to suit the current list, but this could be changed if the list is changed.
* '''background'''.  The colour of the background.  If set to "off", the background colour of the box will be the background colour of the page or containing box.  If not set, it defaults to #F9F9aa.
+
* '''background'''.  The colour of the background.  If set to "off", the background colour of the box will be the background colour of the page or containing box.
* '''float'''.  Sets the CSS ''float'' property for the box.  Normally you would use either "left" or "right".  The default is no floating.
+
* '''float'''.  Sets the [[CSS]] ''float'' property for the box.  Normally you would use either "left" or "right".
  
 
</noinclude>
 
</noinclude>

Latest revision as of 22:32, June 19, 2017

Useful links

Template: Useful links
Use on user pages, mainly
Use for convenient list of useful links
Category template applies to page (none)
Template Parameters
(See using templates).
Name Purpose Required? Comment
width width of box (see below) no default to 12em (see below)
background Background colour (see below) no defaults to #F88
float "left" or "right" (see below) no defaults to no floating

Further information on the parameters:

Useful links

(The example box at the right has parameters set as follows:
{{useful links|float=right|background=#F9F9aa}}.)

  • width. The width of the box. Currently defaults to "12em" to suit the current list, but this could be changed if the list is changed.
  • background. The colour of the background. If set to "off", the background colour of the box will be the background colour of the page or containing box.
  • float. Sets the CSS float property for the box. Normally you would use either "left" or "right".