Template:Anchor

De Valve Developer Community
Ir a la navegación Ir a la búsqueda
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngDocumentación de las plantillas [ver] [editar] [crear Español (es)]
Icon-translate.png Available doc translations
Info.png
La página de documentación Template:Anchor/doc/es no existe.
La documentación en inglés se mostrará en su lugar, pudiendo usar el traductor de Google (o un software similar) para traducir esta página. Si no aparece nada tras este mensaje, es que la documentación no existe ni en inglés.
Description

Use {{Anchor}} to create an anchor point on the page to allow for links to be created to that specific anchors; that is, by linking [[Article#anchor|Article]] or https://developer.valvesoftware.com/Article#anchor the browser page will scroll down so that the 'anchor' is in view. The template can be used to create up to 7 anchor points in one call.

The text parameter can optionally be used to output text as well.

Usage
{{Anchor|<FIRST ANCHOR POINT>|<SECOND ANCHOR POINT>|<THIRD ANCHOR POINT>|<FOURTH ANCHOR POINT>|<FIFTH ANCHOR POINT>|<SIXTH ANCHOR POINT>|<SEVENTH ANCHOR POINT>|text=<TEXT DESCRIPTION>}}
Example #1
{{Anchor|Cheese}}

Does not output anything visible as no text description has been specified.

Example #2
{{Anchor|Screen_Tear|text=Screen Tear}}

Outputs "Screen Tear" as a text description has been specified.

Example #3
{{Anchor|Depth_of_field|DoF|dof|DOF|text=Depth of field}}

Outputs "Depth of field" as a text description has been specified.

Arguments
  • text= - Text description (optional)
  • 1= - First anchor point
  • 2= - Second anchor point
  • 3= - Third anchor point
  • 4= - Fourth anchor point
  • 5= - Fifth anchor point
  • 6= - Sixth anchor point
  • 7= - Seventh anchor point


From Pcgw icon.png Template:Anchor.