Template:ReadMore: Difference between revisions
From Pressure Wiki
Content deleted Content added
Added template |
m Fixed template |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#ifeq: {{{type|}}} | external | <div style="float: right; font-weight: bold; font-size: 115%;">[{{{link|}}} READ MORE]</div> | <div style="float: right; font-weight: bold; font-size: 115%;">[[{{{ |
<onlyinclude>{{#ifeq: {{{type|}}} | external | <div style="float: right; font-weight: bold; font-size: 115%;">[{{{link|}}} READ MORE]</div> | <div style="float: right; font-weight: bold; font-size: 115%;">[[{{{link|Pressure}}}|READ MORE]]</div>}}</onlyinclude> |
||
<noinclude> |
<noinclude> |
||
== Documentation == |
== Documentation == |
Revision as of 02:19, 14 June 2024
Documentation
This template is used to display a large "READ MORE" button. This button automatically aligns right and will link to any page you set as a parameter. If no link is given, it will default to the page Pressure.
If the parameter "type" is set to "external", it will instead link to an external page. Otherwise, it will always link to an internal page and the parameter can be removed.
Example Usage
The following example uses no type.
The following example uses type=external.
Formatting
{{ReadMore|type=|link=}}