Difference between revisions of "Template:Cta"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <includeonly><div class="cta cta-{{{class|primary}}}">[[{{{link|{{FULLPAGENAME}}}}}|{{{text|Read more ...}}}]]</div></includeonly><noinclude> | + | <includeonly><div class="cta cta-{{{class|primary}}}">[[{{{link|{{FULLPAGENAME}}}}}|{{{text|{{{link|Read more ...}}}}}}]]</div></includeonly><noinclude> |
;Description | ;Description | ||
Creates a button linked to a page. | Creates a button linked to a page. |
Revision as of 11:15, 19 February 2022
- Description
Creates a button linked to a page.
- Usage
{{cta |link= # Name of the page |text= # Link text |class= # Custom <code>cta-</code> CSS class name to style the button. Default: "primary" }}
- Example
{{cta |link=:Category:Dairy Cattle and Milk Production |text=Dairy Cattle and Milk Production }}
- Result