Difference between revisions of "Template:Visible anchor"
Template:Visible anchor (view source)
Revision as of 16:45, 10 January 2011
, 16:45, 10 January 2011Remove nesting and anchorencode (only needed for external links)
(make it possible to span any text, rather than only the first arg, so that the {{anchor}} can be at the beginning of a para even if the "keyword" isn't.) |
w:en>Edokter (Remove nesting and anchorencode (only needed for external links)) |
||
Line 1: | Line 1: | ||
<span id="{{ | {{#if:{{{1|}}}|<span id="{{{1}}}">{{{text|{{{1}}}}}}</span>}}<!-- | ||
#if: {{{2|}}}|<span id=" | -->{{#if:{{{2|}}}|<span id="{{{2}}}"></span>}}<!-- | ||
#if: {{{3|}}}|<span id=" | -->{{#if:{{{3|}}}|<span id="{{{3}}}"></span>}}<!-- | ||
#if: {{{4|}}}|<span id=" | -->{{#if:{{{4|}}}|<span id="{{{4}}}"></span>}}<!-- | ||
#if: {{{5|}}}|<span id=" | -->{{#if:{{{5|}}}|<span id="{{{5}}}"></span>}}<!-- | ||
#if: {{{6|}}}|<span id=" | -->{{#if:{{{6|}}}|<span id="{{{6}}}"></span>}}<!-- | ||
#if: {{{7|}}}|<span id=" | -->{{#if:{{{7|}}}|<span id="{{{7}}}"></span>}}<!-- | ||
#if: {{{8|}}}|<span id=" | -->{{#if:{{{8|}}}|<span id="{{{8}}}"></span>}}<!-- | ||
#if: {{{9|}}}|<span id=" | -->{{#if:{{{9|}}}|<span id="{{{9}}}"></span>}}<!-- | ||
#if: {{{10|}}}|<span id=" | -->{{#if:{{{10|}}}|<span id="{{{10}}}"></span>}}<!-- | ||
#if: {{{11|}}}|<span class="error">[[Template:Anchor]] (or Anchors): too many anchors, maximum is 10.</span> | -->{{#if:{{{11|}}}|<span class="error">[[Template:Anchor]] (or Anchors): too many anchors, maximum is 10.</span>}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | ||
</noinclude> | </noinclude> |