User:Johnrdorazio: Difference between revisions

From Seeds of the Word, the encyclopedia of the influence of the Gospel on culture
Content deleted Content added
Tags: Mobile edit Mobile web edit
Tags: Mobile edit Mobile web edit
 
(8 intermediate revisions by the same user not shown)
Line 39: Line 39:
</syntaxhighlight>
</syntaxhighlight>


== Testing MobileDetect tags ==
== Testing MobileDetect parser tags ==
In this very moment you seem to be using a <mobileonly>mobile</mobileonly><nomobile>desktop</nomobile> device.
This page is being viewed from a <mobileonly inline>'''mobile'''</mobileonly><nomobile inline>'''desktop'''</nomobile> device.


=== Inline ===
Here is an html structure with block elements that should only show on mobile, using <code>&lt;mobileonly&gt;</code> tag:
Here is an inline string that should only show on mobile devices, using the <code>&lt;mobileonly inline&gt;</code> parser tag: <mobileonly inline="true">'''I am a MOBILE device!'''</mobileonly>

Here is an inline string that should only show on desktop devices, using the <code>&lt;nomobile inline&gt;</code> parser tag: <nomobile inline=true>'''I am a DESKTOP device!'''</nomobile>

=== Block ===
Here is an html block-level element that should only show on mobile, using the <code>&lt;mobileonly&gt;</code> parser tag:
<mobileonly>
<mobileonly>
<div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A MOBILE DEVICE!</div>
<div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A MOBILE DEVICE!</div>
</mobileonly>
</mobileonly>


Here is a block element that should only show on desktop, using <code>&lt;nomobile&gt;</code> tag:
And here is an html block-level element that should only show on desktop, using the <code>&lt;nomobile&gt;</code> parser tag:
<nomobile>
<nomobile>
<div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A DESKTOP DEVICE!</div>
<div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A DESKTOP DEVICE!</div>
</nomobile>
</nomobile>


== Testing MobileDetect parser functions ==
[[it:Utente:Johnrdorazio]]
=== Inline ===
Here is an inline string that should only show on mobile devices, using the <code>#mobileonly:</code> parser function with the second parameter set to true: {{#mobileonly:'''I am a MOBILE device!'''|true}}

Here is an inline string that should only show on desktop devices, using the <code>#nomobile:</code> parser function with the second parameter set to true: {{#nomobile:'''I am a DESKTOP device!'''|true}}

=== Block ===
Here is an html block-level element that should only show on mobile, using the <code>#mobileonly:</code> parser function:
{{#mobileonly: <div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A MOBILE DEVICE!</div> |0}}

And here is an html block-level element that should only show on desktop, using the <code>#nomobile:</code> parser function:
{{#nomobile: <div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A DESKTOP DEVICE!</div> }}

== Testing MobileDetect parser tags and functions within nested wiki structures ==
The text within the body of this table should change based on whether it is being viewed from desktop or from mobile.

{| class="wikitable"
! !! Parser Tag !! Parser Function
|-
! Inline
| This is a <mobileonly inline>'''mobile'''</mobileonly><nomobile inline>'''desktop'''</nomobile> device
| This is a {{#mobileonly:'''mobile'''|inline}}{{#nomobile:'''desktop'''|inline}} device
|-
! Block
| Which device are you? <mobileonly><div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A MOBILE DEVICE!</div></mobileonly><nomobile><div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A DESKTOP DEVICE!</div></nomobile>
| Which device are you? {{#mobileonly: <div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A MOBILE DEVICE!</div> |0}}{{#nomobile: <div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A DESKTOP DEVICE!</div> }}
|}

== Testing MobileDetect parser tags containing nested wiki structures ==
This whole table should changed based on the type of device with which the page is viewed:
<mobileonly>
{| class="wikitable"
! Inline !! Block
|-
| This is a '''mobile''' device
| Which device are you? <div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A MOBILE DEVICE!</div>
|}
</mobileonly>
<nomobile>
{| class="wikitable"
! Inline !! Block
|-
| This is a '''desktop''' device
| Which device are you? <div style="background-color:yellow;color:darkblue;font-weight:bold;text-align:center;">I AM A DESKTOP DEVICE!</div>
|}
</nomobile>


== Testing BibleGet tags ==
== Testing BibleGet tags ==

Latest revision as of 20:15, August 23, 2024

I am a priest in the diocese of Rome, Italy.

I have served as pastoral assistant in a few roman parishes:

  • Martyrs of Uganda parish
  • Saint Galla parish
  • Saint Linus parish

I have also served as university chaplain at Roma Tre University.

Currently I am serving at the Diocesan Pilgrimage Office "Opera Romana Pellegrinaggi".

I have always enjoyed programming and web development, and I have become fairly well versed in PHP, Javascript, Java, VB.NET with a little bit of C++. I enjoy electronics, and science in general, and would like to put these talents at the service of the Church.

So I have created the BibleGet Project and API.

I have created a Liturgical Calendar API.

I have also created a Liturgical Anniversaries Calculator with related API.

I curate a few websites.

And now, I would like to create this encyclopedia about the influence of the Gospel and of the Word of God on human culture.

Testing LilyPond scores

\relative c'' { \time 4/4 \key c \major c4 g8 g a4 g r b^> c^> r \bar "|." } \addlyrics { Shave and a hair -- cut: two bits. }

Testing Syntax Highlighting

def quick_sort(arr):
  less = []
  pivot_list = []
  more = []
  if len(arr) <= 1:
    return arr
  else:
    pass

Testing MobileDetect parser tags

This page is being viewed from a mobiledesktop device.

Inline

Here is an inline string that should only show on mobile devices, using the <mobileonly inline> parser tag: I am a MOBILE device!

Here is an inline string that should only show on desktop devices, using the <nomobile inline> parser tag: I am a DESKTOP device!

Block

Here is an html block-level element that should only show on mobile, using the <mobileonly> parser tag:

I AM A MOBILE DEVICE!

And here is an html block-level element that should only show on desktop, using the <nomobile> parser tag:

I AM A DESKTOP DEVICE!

Testing MobileDetect parser functions

Inline

Here is an inline string that should only show on mobile devices, using the #mobileonly: parser function with the second parameter set to true:

I am a MOBILE device!

Here is an inline string that should only show on desktop devices, using the #nomobile: parser function with the second parameter set to true:

I am a DESKTOP device!

Block

Here is an html block-level element that should only show on mobile, using the #mobileonly: parser function:

I AM A MOBILE DEVICE!

And here is an html block-level element that should only show on desktop, using the #nomobile: parser function:

I AM A DESKTOP DEVICE!

Testing MobileDetect parser tags and functions within nested wiki structures

The text within the body of this table should change based on whether it is being viewed from desktop or from mobile.

Parser Tag Parser Function
Inline This is a mobiledesktop device This is a
mobile
desktop
device
Block Which device are you?
I AM A MOBILE DEVICE!
I AM A DESKTOP DEVICE!
Which device are you?
I AM A MOBILE DEVICE!
I AM A DESKTOP DEVICE!

Testing MobileDetect parser tags containing nested wiki structures

This whole table should changed based on the type of device with which the page is viewed:

Inline Block
This is a mobile device Which device are you?
I AM A MOBILE DEVICE!
Inline Block
This is a desktop device Which device are you?
I AM A DESKTOP DEVICE!

Testing BibleGet tags

CEI2008

Romani 1

1Paolo, servo di Cristo Gesù, apostolo per chiamata, scelto per annunciare il vangelo di Dio -2che egli aveva promesso per mezzo dei suoi profeti nelle sacre Scritture3e che riguarda il Figlio suo, nato dal seme di Davide secondo la carne,4costituito Figlio di Dio con potenza, secondo lo Spirito di santità, in virtù della risurrezione dei morti, Gesù Cristo nostro Signore;5per mezzo di lui abbiamo ricevuto la grazia di essere apostoli, per suscitare l'obbedienza della fede in tutte le genti, a gloria del suo nome,

NABRE

John 3

16For God so loved the world that he gave his only Son, so that everyone who believes in him might not perish but might have eternal life.

NABRE

1John 4

7 Beloved, let us love one another, because love is of God; everyone who loves is begotten by God and knows God. 8Whoever is without love does not know God, for God is love.

NABRE

Genesis 1

1In the beginning, when God created the heavens and the earth—2 and the earth was without form or shape, with darkness over the abyss and a mighty wind sweeping over the waters—3Then God said: Let there be light, and there was light. 4God saw that the light was good. God then separated the light from the darkness. 5God called the light “day,” and the darkness he called “night.” Evening came, and morning followed—the first day.6Then God said: Let there be a dome in the middle of the waters, to separate one body of water from the other. 7God made the dome, and it separated the water below the dome from the water above the dome. And so it happened. 8God called the dome “sky.” Evening came, and morning followed—the second day.9Then God said: Let the water under the sky be gathered into a single basin, so that the dry land may appear. And so it happened: the water under the sky was gathered into its basin, and the dry land appeared. 10God called the dry land “earth,” and the basin of water he called “sea.” God saw that it was good.