Template:main/doc: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(copy from indieweb)
 
(blank until we've got the weird MediaWiki linktext replacement feature turned off)
Tag: Blanking
 
Line 1: Line 1:
This template is used to generate "Main article: <nowiki>[[link]]</nowiki>." It is typically used at the top of page section to point to a longer page (or more official section) on the topic.


== Blank Template ==
Copy, paste, and fill in the information:
<pre style="line-height: 1.4em; padding: 1em; border: 1px solid #ddd; color: black; background-color: #f9f9f9;">{{main|wiki page|optional label}}</pre>
== Parameters ==
; wiki page : The wiki page name as it appears in the URL.
; optional label : Optional label to display for the link.
== Examples ==
Including this template code:
<pre style="line-height: 1.4em; padding: 1em; border: 1px solid #ddd; color: black; background-color: #f9f9f9;">{{main|h-card|h-card microformat}}</pre>
Will generate:
{{main|h-card|h-card microformat}}

Latest revision as of 19:43, 18 July 2023