#trying to imitate liquipedia's bracket using popups and shit

1 messages · Page 1 of 1 (latest)

untold topaz
#

I created the match info using template {{bingo}}:
https://arknightspvp.miraheze.org/wiki/template:bingo
Then i put {{bingo}} inside <ref> tags, and it displayed as normal.

Arknights Tournaments

{{bingo |width=275
|name=
|player1={{country|}} |player2= {{country|}}
|player1 color= |player2 color=
|score1= |score2=
| |
| |
| |
| |
| |
<!--- row 2 --->
| |
| |
| |
| |
| |
<!--- row 3 --->
| |
| |
| |
| |
| |
<!--- row 4 --->
| |
| |
| |
| |
| |
<!--- row 5 --->
| |
| |
| |
| |
| |
}}

thick bridgeBOT
untold topaz
#

But the source would look like this. I don't want to put the full {{bingo}} templates inside the page, i want them to be stored somewhere.

thick bridgeBOT
untold topaz
#

I made a template {{match}}, so when i call something like {{match|FSET2 UBR1M1}} the relevant table is displayed.
I copied css code from fandom, using Module/MatchData1v1/data to store {{bingo}} templates.
https://arknightspvp.miraheze.org/wiki/template:match
https://arknightspvp.miraheze.org/wiki/Module:MatchData1v1
https://arknightspvp.miraheze.org/wiki/Module:MatchData1v1/data

Then, i will put {{bingo}} inside a pop-up, like <ref>{{match|FSET2 UBR1M1}}</ref> for example. However, when I do that it doesn't display the table, only the markup text verbatim.

Is there a way to do it so that when i invoke a template the markup works instead of displaying just text?
And also how do I create popups without using <ref>? I have no css experience, i just copy shit

Arknights Tournaments

{{{1}}}

Arknights Tournaments

.

Arknights Tournaments

.