Checking how {{&}} behaves—like this. Transcluding keeps displaying as code. Substituting inserts the actual dash.

Trying {{improve documentation}} with a wikilink in the reason parameter.

Header!
Content!

This information here will not show until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.

Adding this purely to get the app to show the current version. So far, it absolutely refuses even if I purge the page.

Signature

edit

This seems to need some text before it to display at a normal size.

Musiconeologisttalkcontribs

Musiconeologist • talk • contribs

Musiconeologist (talkcontribs)

Pronunciations

edit

Testing whether IPA that isn't yet displaying correctly in an article is in fact correct. UK: /ˈʃrɜːdɪŋə, ˈʃrdɪŋə/—It isn't. The <əː> is appearing as a reversed <ε> instead.

Not working in a article, at least in the app: pronounced [ˈuːɐ̯ʃpʁaːxə]

Templates

edit

{{tnull}} displays the code for a "template" {{like this}}

Template syntax

edit
  • Parameters go in triple braces {{{}}}
  • Unnamed parameters are referred to by number
  • Parameter with no value set displays as its own code, so isn't empty
  • Default value goes after the name and a pipe character
  • A parameter can only test as false if explicitly given an empty value

Short descriptions test template

edit

Template is {{User:Musiconeologist/sdtest}}


Here is a call to it:


  • Text in code section of template, before generated SD.
  • Text in code section of template, after generated SD.

And here is it is substituted:

  • Text in code section, before generated SD.
  • Text in code section, after generated SD.

Horizontal rule

edit

Template is at {{hr}}

  • {{hr}} inserts <hr />
  • {{hr|height}} inserts <hr style="height:height px" />

The default thickness is 1 pixel.

Fractional thicknesses are possible. Here are 0.5, 0.7, 1 and 1.4:





Checking the default really is 1px by alternating between {{hr}} and {{hr|1}}:







0.8, default, 1.33:




Template code

edit

The template code itself (minus line breaks) is

{{#if:{{{1|}}}|<hr style="height:{{{1}}}px" />|<hr />}}

in which

  • {{{1}}} is the first supplied parameter
  • {{{1|}}} sets its default value to an empty string
  • an empty string counts as false for the purposes of #if:
  • the #if: syntax is
{{#if:x |then a |else b}}.
edit

As of February 2023, I haven't used the {{as of}}[1] template before. I see it capitalises the phrase regardless of whether its name is capitalised, but |alt=[2] can be used before the date to rephrase it. On March 20th, 2024 I am [needs update] trying out the {{update after}} template.

Test template

edit

Template created at {{user:Musiconeologist/temptest}}. Getting that to display required the {{tlu}} template.

Here is the output with a parameter value, an empty value, and no value:

  • This is a fairly useful test template which calls itself in the noinclude section.
  • This is a test template which calls itself in the noinclude section.
  • This is a defaultly described test template which calls itself in the noinclude section.

Now treating |verb= the same way:

  • This might be a test template which calls itself in the noinclude section.
  • This a test template which calls itself in the noinclude section.
  • This is a test template which calls itself in the noinclude section.

Testing |tense=

  • This is a test template which calls itself in the noinclude section. This sentence was in past tense as set by |tense=past.
  • This is a test template which calls itself in the noinclude section. This sentence is in present tense as set by |tense=present.
  • This is a test template which calls itself in the noinclude section. This sentence will be in future tense as set by |tense=future.

Calling the template as {{../temptest}} to avoid typing my username:

  • This is a relatively addressed test template which calls itself in the noinclude section.

Parser functions

edit

These look like templates but aren't. The colon gives it away.

Gender

edit
  • To refer to a user by their entered gender, use {{gender:user|m_out|f_out|u_out}}.
  • ''{{gender:Musiconeologist|he is|she is|they are}}'' gives he is.
  • Substituting works as well. (In fact, I think {{subst:}} is itself a parser function really, not a template.)

Table tryout

edit

For the cosine error article. I need some padding between the columns.

Angle Error Equivalent to
10° 1.5% = 1 part in 66
0.015% = 1 part in 6,600
0.1° 0.00015% = 1 part in 660,000
0.01° 0.0000015% = 1 part in 66,000,000

Long line of code

edit

Soft spaces before | characters:

[[File:Name|Type|Border|Location|Alignment|Size|link=Link|alt=Alt|page=Page|lang=Langtag|Caption]].

Soft spaces after | characters:

[[File:Name|Type|Border|Location|Alignment|Size|link=Link|alt=Alt|page=Page|lang=Langtag|Caption]].

Conclusion: breaking after the | is far better. Each line looks incomplete, and each item is visibly intact.

Picture

edit

For the English Havmannen article.

 
"Havmannen", a sculpture made from Arctic granite in 1995 by the English sculptor Antony Gormley.
 
The waterfront
edit

Various tryouts

edit

to see whether the capitalisation matters. (It does: the lowercase one doesn't find the anchor.)

Links for use on Norwegian talk page: en:å#Origin and en:talk:å#Pronunciation of Å

Link to Havmannen photo and waterfront photo anchors above

Link to Havmannen image page

Section link to § Citation formats below, using {{Section link}}

External link to a section of my user page. To link to a section, add the same code as for a wikilink, but with spaces changed to underscores.

Relative link to User:Musiconeologist/sdtest, using [[../sdtest]]. (Wikipedia calls relative links subpage links.)

Linking between Wikipedias

edit

This should link to a Norwegian article and then to the English one. The code for the Norwegian version has :nb: before the usual link. Pleased to see it also works with

Norwegian user page, via :nb:Bruker:
Danish user page, via :da:Bruger:
Swedish user page, via :sv:Användare:
Global user page on Meta, via :m:User:.

Other pages

edit
User:Musiconeologist/sandbox (this page)
User:Musiconeologist/draft
User:Musiconeologist/proto-
User:Musiconeologist/temptest
User:Musiconeologist/sdtest
User:Musiconeologist/makesd
User:Musiconeologist/common.js

Link to an automatically generated list of them: Special:Prefixindex/User:Musiconeologist

Citation formats

edit
  • Book with translated title.[3]
  • A reference I need to add to an article.[4]
  • OED buckyball entry.[5]
  • OED gender entry.[6]
  • A named one[7] for subsequent use.[7]
  • Radio 4 programme pages.[8][9]
  • Tricky ref citing two sections of an online document: use |at= rather than |page= to allow free description of a ___location in the document.[10]

References

edit
  1. ^ To display a template like this, use {{tl}}.
  2. ^ To display code, use <code></code>. To stop it being treated as markup, put <nowiki></nowiki> inside.
  3. ^ Lastname, Firstname (1981), Title [Translated title] (2nd ed.), Copenhagen: Gyldendal, p. 123
  4. ^ "NIST Gravimetric Hygrometer for Verification of NIST Humidity Standards and for Research on Humidity Properties". National Institute of Standards and Technology. Retrieved 16 February 2023.
  5. ^ "Buckyball". Oxford English Dictionary. Oxford University Press. Retrieved 13 April 2024.
  6. ^ "gender". Oxford English Dictionary. Oxford University Press. Retrieved 23 Jan 2025.
  7. ^ a b The code for reusing the reference is <ref name= />.
  8. ^ "Bovine TB; Coral sunscreen; Space junk". BBC Inside Science. BBC. Retrieved 6 January 2025.
  9. ^ "Ancient horses; Uncertainty; How cutlery affects taste". Material World. BBC. Retrieved 11 January 2025.
  10. ^ "Hazeltine Research, Inc. v. Dage Elec. Co". Casetext. Section 13 and Prior knowledge section. Retrieved 7 January 2025.
  11. ^ "Saint Peter's Roman Catholic Church". The Organ List. Hendrickson Op. 53 entry. Retrieved January 29, 2025.

Something else

edit

To see what happens if the references aren't at the end. (Answer: everything works fine.)