Page Info Link Tag

Aus Earthdawn-Wiki.v2
Version vom 22. Oktober 2024, 19:36 Uhr von Root (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Creates an page info link to a WikiPage. Why would you use this instead of a standard anchor? The PageInfoLinkTag automatically adds things like the correct class information (for styles), the jspwiki.baseURL property, etc. ---- ====Usage==== <wiki:PageInfoLink page="<page name>" format="anchor|url"> ; : ''Link text'' </wiki:PageInfoLink> ====Parameters==== ; '''page''' : Page name to link to. If not set, uses the current page. ; '''form…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Creates an page info link to a WikiPage. Why would you use this instead of a standard anchor? The PageInfoLinkTag automatically adds things like the correct class information (for styles), the jspwiki.baseURL property, etc.


Usage

<wiki:PageInfoLink page="<page name>" format="anchor|url">

Link text

</wiki:PageInfoLink>

Parameters

page
Page name to link to. If not set, uses the current page.
format
If "anchor", creates the full hyperlink (<a href="...">link text</a>); if "url", outputs only the URL. Default is to output the entire anchor.

Example

<code>
<wiki:PageInfoLink>See page history</wiki:PageInfoLink>.
</code>