Template:Wikiquote/doc: Difference between revisions

m
categorization (via WP:JWB)
m (→‎top: <noinclude> not needed)
 
imported>Andrybak
m (categorization (via WP:JWB))
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
</pre>
</pre>


<code>PAGENAME</code> is the name of the page on Wikiquote. Optionally, <code>DISPLAYTEXT</code> can be specified to show a different link title from the <code>PAGENAME</code>
<pre>
{{Wikiquote|PAGENAME|DISPLAYTEXT|CUSTOMTEXT}}
</pre>
 
<code>PAGENAME</code> is the name of the page on Wikiquote. Optionally, <code>DISPLAYTEXT</code> can be specified to show a different link title from the <code>PAGENAME</code>. Also optionally, <code>CUSTOMTEXT</code> can replace the default text "quotations related to" in the middle of the message&nbsp;– this must be the third parameter.


===Location===
===Location===
Line 40: Line 44:
     "label": "Showname",
     "label": "Showname",
     "description": "Optional displayed link text.",
     "description": "Optional displayed link text.",
    "type": "string",
    "required": false
  },
  "3": {
    "label": "Customtext",
    "description": "Optional displayed message text.",
     "type": "string",
     "type": "string",
     "required": false
     "required": false
Line 46: Line 56:


== See also ==
== See also ==
* {{Lts|Wikiquote-inline}}
* {{Lts|Wikiquote inline}}
* {{Lts|Wikiquote redirect}}
* {{Lts|Wikiquote redirect}}
* {{Lts|Wikiquotelang}} to link to a Wikiquote project for another language
* {{Lts|Wikiquote lang}} to link to a Wikiquote project for another language


<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
[[Category:Interwiki link templates]]
[[Category:Interwiki link sidebar templates]]
[[Category:Wikiquote link templates]]
[[Category:Wikiquote link templates| ]]
}}</includeonly>
}}</includeonly>
Anonymous user