Information icon.svg At All things in moderation, we are currently voting on restrictions on the use of LLMs (chatbots) in RationalWiki. Reminder: you need to have at least 75 edits and to have been registered for at least three months to be eligible to vote.


From RationalWiki
Jump to navigation Jump to search

{{{1}}}[a w]

[edit] [purge] Documentation

Create a link with and buttons.

{{a||Example page}}

gives:[a w]

Example page[a w]

For some more complicated links you need to explicitly use 1= and 2= (like so: {{a|1=|2=Example page}}) otherwise it won't work.

Note: This will not actually create the archival links. You will need to generate these yourself.

Here's a Vim substitute command if you want to convert all references in a page; the first one is for links with a description, the second for "bare" links in references.

:%s/<ref\(.\{-}\)>\[\(.\{-}\) \(.\{-}\)]\(.\{-}\)<\/ref>/<ref\1>{{a|1=\2|2=\3\4}}<\/ref>/g

Protip: add /c for interactive confirmation