FANDOM


  • Guys! Help! For some reason, if I put two of the same templates on the same page, they would always merge together. Can you guys see how I can separate the two?

      Loading editor
    • link?

        Loading editor
    • Does this have anything to do with the Clone Overviews page on badland-brawl wiki? On the CloneView template you have a few unclosed div tags.

        Loading editor
    • Yeah. How can I close them?

        Loading editor
    • You need to add </div></div> after

      {{Clone|Name={{{Clone|}}}|Scale=.41|Position=left}}
      

      So:

      {{Clone|Name={{{Clone|}}}|Scale=.41|Position=left}}</div></div>
      

      Not sure if that alone would solve the issue you have though

        Loading editor
    • Where do I put the template?

        Loading editor
    • I looked at your favorite wikis and saw you made a lot of edits to a template today on the badland brawl so I guessed it was that you were referring to¬†:P

        Loading editor
    • I should have been clearer, you need to add the two </div></div> tags on the template page, so it looks like this:

      <div <!--{{#ifeq: {{LookupCloneRarity|{{{Clone|}}}}}|Legendary|class="border-legendary"| }}--> style="min-width: 300px; width: calc(50% - 20px); box-sizing: border-box; margin: 10px; padding: 10px 10px 15px 10px; background: white; box-shadow: 0 1px 6px rgba(0,0,0,.4); border-radius: 0.5em; border-top: 4px solid; border-top-color: {{#switch: {{LookupCloneRarity|{{{Clone|}}}}}
      | Primal = #999999
      | Evolved = #ffa31a
      | Mythical = #b300b3}};">
      <h4 style="margin: 0 5px 5px; font-weight: bold; font-size: 150%;">[[{{{Clone|}}}]]</h4>
      <div style="display: -webkit-flex; display: flex;">
      {{Clone|Name={{{Clone|}}}|Scale=.41|Position=left}}</div></div>
      <p style="font-size: 0.95em; line-height: 1.3em;">{{{Description|}}}</p>
      
        Loading editor
    • I can see the changes you made, you put the closing div tags in the wrong place on the template page. They need to come after

      {{Clone|Name={{{Clone|}}}|Scale=.41|Position=left}}
      

      but before

      <p style="font-size: 0.95em; line-height: 1.3em;">{{{Description|}}}</p>
      

      Edit: Nevermind, you've updated it. I don't know why the div tags are still visible though, sorry.

        Loading editor
    • There's also some leftover code from the template this was copied from, http://clashroyale.wikia.com/wiki/Template:CardOverview (I know because I co-created that template), namely

      <!--{{#ifeq: {{LookupCloneRarity|{{{Clone|}}}}}|Legendary|class="border-legendary"| }}-->

      This code is for the Legendary class but is vestigial for your purposes as there is no such rarity in Badland Brawl.

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message