ahahah mixing my french and english words together.
So yeah device. I would like to be able to remove some elements from a page when it is viewed by smartphone users as it isn't an element viewable on a small screen (table in table in table).
To answer your question, no. There is not way to do this using Lua or magic words. MediaWiki simply does not provide such methods.
When someone views the website on their mobile device using a web browser, there are two ways they can be viewing it: the mobile layout and the desktop layout. Fandom's mobile layout hides certain things. When it comes to templates, it will hide the template depending on the template's designated type. For example, an infobox is not hidden while a notice template is hidden. You can read more about the different template types here. Another way to hide things in the mobile layout is to add the class "hidden" to it. If you are using wikitext that does not permit the specification of a class, then you need to wrap that portion in something that does such as a div tag. Then assign the class to the wrapper. The method that Parkour2906 proposed applies when users are viewing the wiki on their mobile device using the desktop layout. When in desktop layout, you could also use JS for this but that would be an overkill as CSS is sufficient.
The best way is to use the template type Andrewds has mentioned that only hides stuff on the mobile skin. Mobile users may sometimes opt for the desktop skin, by tapping on the button "VIEW FULL SITE" on the bottom of the page. If you have used the CSS selector based on screen width to hide things, some of them may remain hidden. And it can be annoying if they realise some information remains hidden even after tapping a button that promisses to deliver "the full site".
So just create a template container and set its type to "Notice".
Then you can use around things you want to hide on mobile skin.
For example, on the bottom of the section "Tinctures" you have a sentence reading: "For yada yada, see this article on desktop version." Boom, link to the desktop version. This will make your users free to choose. Most people will see it and ignore the link, they're satisfied with the content already displayed on the mobile skin. But some nerds will want more. The desktop link is there to support them.
I would just like to clarify for the record that is was Tupka217 that originally mentioned the template method. The purpose of my post was to clarify in which cases each of the methods (Tupka217's versus Parkour2906's) would be used.