Difference between revisions of "Template:Anchor"

From Second Life Wiki
Jump to navigation Jump to search
m (Adapted/corrected from Wikipedia)
(Adding a more recent version for the Anchor template)
 
Line 1: Line 1:
{{#if:{{{1|}}}|<span id="{{{1|}}}" {{{attributes|}}}>{{{2|}}}</span>}}<noinclude>
{{#if:{{{1|}}}|<span id="{{{1|}}}"></span>}}<!--
-->{{#if:{{{2|}}}|<span id="{{{2|}}}"></span>}}<!--
-->{{#if:{{{3|}}}|<span id="{{{3|}}}"></span>}}<!--
-->{{#if:{{{4|}}}|<span id="{{{4|}}}"></span>}}<!--
-->{{#if:{{{5|}}}|<span id="{{{5|}}}"></span>}}<!--
-->{{#if:{{{6|}}}|<span id="{{{6|}}}"></span>}}<!--
-->{{#if:{{{7|}}}|<span id="{{{7|}}}"></span>}}<!--
-->{{#if:{{{8|}}}|<span id="{{{8|}}}"></span>}}<!--
-->{{#if:{{{9|}}}|<span id="{{{9|}}}"></span>}}<!--
-->{{#if:{{{10|}}}|<span id="{{{10|}}}"></span>}}<!--
-->{{#if:{{{11|}}}|<span class="error">Error in [[Template:Anchor]]: 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>

Latest revision as of 15:38, 22 September 2022


[Edit] [🔄Purge] Template-info.png Template documentation
  • {{Anchor|anchor_label}}
  • {{Anchor|anchor_label|optional text}}
  • {{Anchor|anchor_label|optional text|attributes=additional parameters for the parent tag, such as style}}
#A1 {{Anchor|A1}}
#A2 {{Anchor|A2|A2}}
#A3 {{Anchor|A3|A3|attributes= style="color:red;"}}