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

From blackwiki
Jump to navigation Jump to search
test>Jonesey95
(more minor ce)
m (12 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 18: Line 18:
  
 
== Examples ==
 
== Examples ==
* {{demo-inline|<nowiki>{{Portal-image|Sexuality}}</nowiki>}}
+
* {{demo-inline|<nowiki>{{Portal-image|Human sexuality}}</nowiki>}}
* {{demo-inline|<nowiki>{{Portal-image|Sexuality|link=no}}</nowiki>}}
+
* {{demo-inline|<nowiki>{{Portal-image|Human sexuality|link=no}}</nowiki>}}
* {{demo-inline|<nowiki>{{Portal-image|Sexuality|size=tiny}}</nowiki>}}
+
* {{demo-inline|<nowiki>{{Portal-image|Human sexuality|size=tiny}}</nowiki>}}
* {{demo-inline|<nowiki>{{Portal-image|Sexuality|link=no|size=tiny}}</nowiki>}}
+
* {{demo-inline|<nowiki>{{Portal-image|Human sexuality|link=no|size=tiny}}</nowiki>}}
  
 
=== Tiny in text ===
 
=== Tiny in text ===
Line 29: Line 29:
 
{{Portal template list}}
 
{{Portal template list}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
+
<includeonly>{{Sandbox other|
 
| <!--Categories below this line, please; interwikis at Wikidata-->
 
| <!--Categories below this line, please; interwikis at Wikidata-->
 
[[Category:Internal link templates]]
 
[[Category:Internal link templates]]

Latest revision as of 16:36, 8 September 2020

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|Human sexuality}}Sexual orientation - 4 symbols.svg
  • {{Portal-image|Human sexuality|link=no}}Sexual orientation - 4 symbols.svg
  • {{Portal-image|Human sexuality|size=tiny}}Sexual orientation - 4 symbols.svg
  • {{Portal-image|Human sexuality|link=no|size=tiny}}Sexual orientation - 4 symbols.svg

Tiny in text

Lorem ipsum dolor sit amet, consectetur adipiscing elit Globe of letters.svg, 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