Difference between revisions of "User:Dan9186/templates/content table/doc"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
(Created page with '{{documentation subpage}} ==Usage== <pre> {{User:Dan9186/Templates/Content table | width = | float = | icon = | icon_link = | icon_alt = | editable = | edit_…')
 
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
 
* '''width''' - specify a width for the table
 
* '''width''' - specify a width for the table
 
* '''float''' (optional) - ''left'' or ''right'' ''(Default: left''
 
* '''float''' (optional) - ''left'' or ''right'' ''(Default: left''
* '''icon''' - specify an icon to be used in the header ''(Default: [[Image:Nuvola apps kdmconfig.png|20px]])''
+
* '''icon''' - specify an icon to be used in the header ''(Default: [[Image:Nuvola apps kuser.png|20px]])''
 
* '''icon_link''' (optional) - a page to make the icon link to
 
* '''icon_link''' (optional) - a page to make the icon link to
 
* '''icon_alt''' (optional - alternate text to display for the icon
 
* '''icon_alt''' (optional - alternate text to display for the icon
 
* '''editable''' (optional) - ''yes'' or ''no'', displays an edit link in the top right corner of the table
 
* '''editable''' (optional) - ''yes'' or ''no'', displays an edit link in the top right corner of the table
 
* '''edit_link''' - the page that the edit link is to go to
 
* '''edit_link''' - the page that the edit link is to go to
* '''title''' - specify a title to display ''(default: "Dan9186 says")''
+
* '''title''' - specify a title to display ''(Default: "Dan9186 says")''
 
* '''content''' - the content to display in the table
 
* '''content''' - the content to display in the table

Latest revision as of 21:03, 6 February 2010

Usage

{{User:Dan9186/Templates/Content table
| width      =
| float      =
| icon       =
| icon_link  =
| icon_alt   =
| editable   =
| edit_link  =
| title      =
| content    =
}}
  • width - specify a width for the table
  • float (optional) - left or right (Default: left
  • icon - specify an icon to be used in the header (Default: Nuvola apps kuser.png)
  • icon_link (optional) - a page to make the icon link to
  • icon_alt (optional - alternate text to display for the icon
  • editable (optional) - yes or no, displays an edit link in the top right corner of the table
  • edit_link - the page that the edit link is to go to
  • title - specify a title to display (Default: "Dan9186 says")
  • content - the content to display in the table