Jump to content

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

Safe mode has been removed from LilyPond as of version 2.23.12. LilyPond files can run arbitrary code. Please sandbox your LilyPond installation using Shellbox and set $wgScoreSafeMode = false.

Test Score tag in raw lilypond format, with title

Safe mode has been removed from LilyPond as of version 2.23.12. LilyPond files can run arbitrary code. Please sandbox your LilyPond installation using Shellbox and set $wgScoreSafeMode = false.

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