User talk:Johnrdorazio: Difference between revisions

Page contents not supported in other languages.
From Seeds of the Word, the encyclopedia of the influence of the Gospel on culture
Content deleted Content added
No edit summary
Line 335: Line 335:
print(fact(a))
print(fact(a))
</syntaxhighlight>
</syntaxhighlight>

== Test using MobileDetect within Template ==

{{Template:MobileDetect|I am a Desktop device!|I am a Mobile device}}

Revision as of 13:39, August 25, 2024

Here's a place to discuss this online encyclopedia with me

If you have any questions or need help when creating or editing an article, please feel free to contact me and we can try to work out any issues. Just click on Add topic here on top.

Test audio file

Test Score tag


{ \new PianoStaff << \new Staff \relative c'' { \set Staff.midiInstrument = #"violin" \clef treble \tempo 8 = 126 \time 3/16 r16 <d c a fis d>\f-! r16\fermata | \time 2/16 r <d c a fis d>-! \time 3/16 r <d c a fis d>8-! | r16 <d c a fis d>8-! | \time 2/8 <d c a fis>16-! <e c bes g>->-![ <cis b aes f>-! <c a fis ees>-!] } \new Staff \relative c { \set Staff.midiInstrument = #"violin" \clef bass \time 3/16 d,16-! <bes'' ees,>-! r\fermata | \time 2/16 <d,, d,>-! <bes'' ees,>-! | \time 3/16 d16-! <ees cis>8-! | r16 <ees cis>8-! | \time 2/8 d16\sf-! <ees cis>-!->[ <d c>-! <d c>-!] } >> }

Test Score tag in raw lilypond format, with title

Page 1Page 2Page 3Page 4

Test syntax highlighting

Javascript:

let jsV = "Javascript variable";
let jsObj = {
  item: "First item"
}

PHP

$myVar = "PHP variable";
$myVarUpper = strtoupper($myVar);

LUA

-- defines a factorial function
function fact (n)
  if n == 0 then
    return 1
  else
    return n * fact(n-1)
  end
end

print("enter a number:")
a = io.read("*number")        -- read a number
print(fact(a))

Test using MobileDetect within Template

I am a Desktop device!
I am a Mobile device