Difference between revisions of "Template:Portal-image/doc"

From blackwiki
Jump to navigation Jump to search
test>Jonesey95
m (ce)
test>Jonesey95
(more minor ce)
Line 5: Line 5:
  
 
== Usage ==
 
== Usage ==
<code><nowiki>{{Portal-image|''portal name''|size=''tiny''|link=''yes or no'']}}</nowiki></code>
+
<code><nowiki>{{Portal-image</nowiki>|''portal name''|size=''tiny''|link=''yes or no''}}</code>
  
 
'''Note:''' {{para|size}} and {{para|link}} are optional.
 
'''Note:''' {{para|size}} and {{para|link}} are optional.
Line 12: Line 12:
 
* {{para|1}} The name of the portal
 
* {{para|1}} The name of the portal
 
* {{para|size}} The size of the image  
 
* {{para|size}} The size of the image  
:* If set to ''tiny'', produces an image that is as tall as a line of text: {{portal-image|science|size=tiny}})
+
:* If set to ''tiny'', produces an image that is as tall as a line of text: {{portal-image|science|size=tiny}}
 
* {{para|link}} Whether or not the image links to the portal
 
* {{para|link}} Whether or not the image links to the portal
 
:* Default: yes
 
:* Default: yes

Revision as of 14:42, 7 December 2018

Portal-image is used to produce an inline image to a portal, with or without a link to the portal's page through the image.

Usage

{{Portal-image|portal name|size=tiny|link=yes or no}}

Note: |size= and |link= are optional.

Parameters

  • |1= The name of the portal
  • |size= The size of the image
  • If set to tiny, produces an image that is as tall as a line of text: 16x16px
  • |link= Whether or not the image links to the portal
  • Default: yes
  • To make the image not link to the portal, set to any no value (no, n, off, false, etc.)

Examples

  • {{Portal-image|Sexuality}}32x28px
  • {{Portal-image|Sexuality|link=no}}32x28px
  • {{Portal-image|Sexuality|size=tiny}}16x16px
  • {{Portal-image|Sexuality|link=no|size=tiny}}16x16px

Tiny in text

Lorem ipsum dolor sit amet, consectetur adipiscing elit 16x16px, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

See also

Portal content templates

Main portal page formatting templates

Templates that configure links

Selected page templates, used on subpages of older portals

Related templates